summaryrefslogtreecommitdiff
path: root/test/process
diff options
context:
space:
mode:
Diffstat (limited to 'test/process')
-rw-r--r--test/process/process_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/process/process_test.cpp b/test/process/process_test.cpp
index 96bea17f..b410756b 100644
--- a/test/process/process_test.cpp
+++ b/test/process/process_test.cpp
@@ -55,7 +55,7 @@ protected:
proc_.kill();
/* Test starting the process and retrieving the exit code. */
- int ret = proc_.start("/proc/self/exe", args);
+ int ret = proc_.start(self(), args);
if (ret) {
cerr << "failed to start process" << endl;
return TestFail;