aboutsummaryrefslogtreecommitdiff
path: root/tests/process-run/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/process-run/driver.cxx')
-rw-r--r--tests/process-run/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/process-run/driver.cxx b/tests/process-run/driver.cxx
index 14797c4..94b6e00 100644
--- a/tests/process-run/driver.cxx
+++ b/tests/process-run/driver.cxx
@@ -94,9 +94,9 @@ main (int argc, const char* argv[])
// Stream conversion and redirection.
//
- assert (run (fdnull (), 1, 2, p, "-c", "-i"));
- assert (run (fdnull (), 2, 2, p, "-c", "-o", "abc"));
- assert (run (fdnull (), 1, 1, p, "-c", "-e", "abc"));
+ assert (run (fdopen_null (), 1, 2, p, "-c", "-i"));
+ assert (run (fdopen_null (), 2, 2, p, "-c", "-o", "abc"));
+ assert (run (fdopen_null (), 1, 1, p, "-c", "-e", "abc"));
{
fdpipe pipe (fdopen_pipe ());