summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/unistd/vfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unistd/vfork.c b/test/unistd/vfork.c
index c7d409adb..6239e3f02 100644
--- a/test/unistd/vfork.c
+++ b/test/unistd/vfork.c
@@ -34,9 +34,11 @@ int main(void)
int status, wpid;
char *argv[] = {
"/bin/ls",
+ "-laF",
NULL,
};
+ clearenv();
if ((pid = vfork()) == 0) {
printf("Hi. I'm the child process...\n");
execvp(argv[0], argv);