summaryrefslogtreecommitdiffstats
path: root/contrib/atf/atf-c++/check_test.cpp
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2013-05-29 19:41:36 +0000
committermarcel <marcel@FreeBSD.org>2013-05-29 19:41:36 +0000
commitfbbd9fba54c1702c0bd1eb59914184cd73f191fa (patch)
treea76537d5285dbee6695f7761f451f0f96d2d16d0 /contrib/atf/atf-c++/check_test.cpp
parentd095ed802f385ba9dd5e1d6308ac489c95ae3841 (diff)
downloadFreeBSD-src-fbbd9fba54c1702c0bd1eb59914184cd73f191fa.zip
FreeBSD-src-fbbd9fba54c1702c0bd1eb59914184cd73f191fa.tar.gz
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 <yaneurabeya@gmail.com>
Diffstat (limited to 'contrib/atf/atf-c++/check_test.cpp')
-rw-r--r--contrib/atf/atf-c++/check_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/atf/atf-c++/check_test.cpp b/contrib/atf/atf-c++/check_test.cpp
index fd528e9..a4c4993 100644
--- a/contrib/atf/atf-c++/check_test.cpp
+++ b/contrib/atf/atf-c++/check_test.cpp
@@ -61,7 +61,7 @@ std::auto_ptr< atf::check::check_result >
do_exec(const atf::tests::tc* tc, const char* helper_name)
{
std::vector< std::string > argv;
- argv.push_back(get_process_helpers_path(*tc).str());
+ argv.push_back(get_process_helpers_path(*tc, false).str());
argv.push_back(helper_name);
std::cout << "Executing " << argv[0] << " " << argv[1] << "\n";
@@ -74,7 +74,7 @@ std::auto_ptr< atf::check::check_result >
do_exec(const atf::tests::tc* tc, const char* helper_name, const char *carg2)
{
std::vector< std::string > argv;
- argv.push_back(get_process_helpers_path(*tc).str());
+ argv.push_back(get_process_helpers_path(*tc, false).str());
argv.push_back(helper_name);
argv.push_back(carg2);
std::cout << "Executing " << argv[0] << " " << argv[1] << " "
OpenPOWER on IntegriCloud