From 282dce564a6cd33469f6b82ce94582bc4d9121be Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Feb 2020 21:42:20 +0300 Subject: Rename fdnull() to fdopen_null() --- tests/process-run/driver.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/process-run') 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 ()); -- cgit v1.1