aboutsummaryrefslogtreecommitdiff
path: root/tests/process-run/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
commit282dce564a6cd33469f6b82ce94582bc4d9121be (patch)
tree3e8dceb6e0489bdddbd15cac22365a5ed6ca68a4 /tests/process-run/driver.cxx
parent5fb6e5041b65150ec1c78d5e39caeb23e2f9a531 (diff)
Rename fdnull() to fdopen_null()
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 ());