aboutsummaryrefslogtreecommitdiffstats
path: root/v3/libglouglou/tests/test_exec_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'v3/libglouglou/tests/test_exec_pipe.c')
-rw-r--r--v3/libglouglou/tests/test_exec_pipe.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/v3/libglouglou/tests/test_exec_pipe.c b/v3/libglouglou/tests/test_exec_pipe.c
index f648bb2..0c49ad7 100644
--- a/v3/libglouglou/tests/test_exec_pipe.c
+++ b/v3/libglouglou/tests/test_exec_pipe.c
@@ -4,12 +4,9 @@ int
main(int argc, char **argv)
{
char *echo_args[] = {"echo", "toto", NULL};
- char *echo_env[] = {NULL};
char *grep_args[] = {"grep", "-q", "toto", NULL};
- char *grep_env[] = {NULL};
- exec_pipe("/bin/echo", echo_args, echo_env,
- "/bin/grep", grep_args, grep_env);
+ exec_pipe("echo", echo_args, "grep", grep_args);
/* returns only on error */
return 1;