From fbbd9fba54c1702c0bd1eb59914184cd73f191fa Mon Sep 17 00:00:00 2001 From: marcel Date: Wed, 29 May 2013 19:41:36 +0000 Subject: Modify atf::fs::path::get_process_helpers_path API to properly handle pathing with detail/ tests. Based on patch pushed upstream to ATF project. Obtained from: Garrett Cooper --- contrib/atf/atf-c++/detail/process_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/atf/atf-c++/detail/process_test.cpp') diff --git a/contrib/atf/atf-c++/detail/process_test.cpp b/contrib/atf/atf-c++/detail/process_test.cpp index d13ab94..a40f663 100644 --- a/contrib/atf/atf-c++/detail/process_test.cpp +++ b/contrib/atf/atf-c++/detail/process_test.cpp @@ -64,10 +64,10 @@ exec_process_helpers(const atf::tests::tc& tc, const char* helper_name) using atf::process::exec; std::vector< std::string > argv; - argv.push_back(get_process_helpers_path(tc).leaf_name()); + argv.push_back(get_process_helpers_path(tc, true).leaf_name()); argv.push_back(helper_name); - return exec(get_process_helpers_path(tc), + return exec(get_process_helpers_path(tc, true), atf::process::argv_array(argv), atf::process::stream_inherit(), atf::process::stream_inherit()); -- cgit v1.1