From c61d6e14c08fec7658dbdc33c16b5feeece08fbf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 29 Dec 2016 03:32:05 +0300 Subject: Add process_exit --- tests/process/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 (0)); + process p (optional (process_exit (0))); assert (p.wait ()); // "Exited" successfully. } { - process p (optional (1)); + process p (optional (process_exit (1))); assert (!p.wait ()); // "Exited" with an error. } -- cgit v1.1