aboutsummaryrefslogtreecommitdiff
path: root/tests/process
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-30 17:34:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-30 17:34:45 +0200
commitefb5db56425245a20df704e707f6a91190eb67f3 (patch)
treed8206f236fda128b875908372b1cb72112e48078 /tests/process
parentbc5df38d08cb0dbe5b55c145ecce93581de77fee (diff)
Don't use hard-coded directory separators
Diffstat (limited to 'tests/process')
-rw-r--r--tests/process/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index 18b4fd8..bcf04a7 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -291,7 +291,7 @@ main (int argc, const char* argv[])
// Fail for unexistent file path.
//
- assert (!exec (path ("./dr")));
+ assert (!exec (dir_path (".") / path ("dr")));
// Execute the child using file name having PATH variable being properly set.
//