From b93b5de531d765fc11ce5a575b9651de0ebe81c2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 19 Jul 2009 10:38:05 +0200 Subject: [PATCH] Pass slave_process argument consistently. --- ChangeLog | 5 +++++ tests/test-pipe.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94adb9f60..c1ab0fb5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-19 Bruno Haible + + * tests/test-pipe.c (test_pipe): Pass slave_process = true argument + consistently. + 2009-07-18 Eric Blake test-pipe: fix mingw build diff --git a/tests/test-pipe.c b/tests/test-pipe.c index b5f70d0ea..9e806869f 100644 --- a/tests/test-pipe.c +++ b/tests/test-pipe.c @@ -58,8 +58,8 @@ test_pipe (const char *argv0, bool stderr_closed) argv[0] = argv0; argv[1] = stderr_closed ? "9" : "8"; argv[2] = NULL; - pid = create_pipe_bidi(argv0, argv0, (char **) argv, - false, true, true, fd); + pid = create_pipe_bidi (argv0, argv0, (char **) argv, + false, true, true, fd); ASSERT (0 <= pid); ASSERT (STDERR_FILENO < fd[0]); ASSERT (STDERR_FILENO < fd[1]); @@ -71,7 +71,7 @@ test_pipe (const char *argv0, bool stderr_closed) ASSERT (read (fd[0], buffer, 2) == 1); /* Wait for child. */ - ASSERT (wait_subprocess (pid, argv0, true, false, false, true, NULL) == 0); + ASSERT (wait_subprocess (pid, argv0, true, false, true, true, NULL) == 0); ASSERT (close (fd[0]) == 0); ASSERT (close (fd[1]) == 0); -- 2.11.0