aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/process/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index ac8f54d..d2a8172 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -265,12 +265,12 @@ main (int argc, const char* argv[])
// Note that if to create as just process(0) then the
// process(const char* args[], int=0, int=1, int=2) ctor is being called.
//
- process p (optional<process::status_type> (0));
+ process p (optional<process_exit> (process_exit (0)));
assert (p.wait ()); // "Exited" successfully.
}
{
- process p (optional<process::status_type> (1));
+ process p (optional<process_exit> (process_exit (1)));
assert (!p.wait ()); // "Exited" with an error.
}