aboutsummaryrefslogtreecommitdiff
path: root/tests/process
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-07 01:22:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-12-07 11:27:32 +0300
commit3e6110dec6f4cb004b8594b9b798a9db5b08fe7a (patch)
treee27cd6b75386752c7bf5cbe0bb35b55e17ff6c0e /tests/process
parente7b033d7b38bc55f934521b5f35060b43a8b0526 (diff)
Add path::current(), path::parent()
Diffstat (limited to 'tests/process')
-rw-r--r--tests/process/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index bc75cc2..ac8f54d 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -225,7 +225,7 @@ main (int argc, const char* argv[])
// write it to cout and/or cerr.
//
- if (!wd.empty () && wd.realize () != dir_path::current ())
+ if (!wd.empty () && wd.realize () != dir_path::current_directory ())
return 1;
try
@@ -305,7 +305,7 @@ main (int argc, const char* argv[])
// Execute the child using the relative path.
//
- dir_path::current (fp.directory ());
+ dir_path::current_directory (fp.directory ());
assert (exec (dir_path (".") / fp.leaf ()));
@@ -326,7 +326,7 @@ main (int argc, const char* argv[])
assert (_putenv (("PATH=" + paths).c_str ()) == 0);
#endif
- dir_path::current (fp.directory () / dir_path (".."));
+ dir_path::current_directory (fp.directory () / dir_path (".."));
assert (exec (fp.leaf ()));