diff options
Diffstat (limited to 'posix/wordexp-test.c')
-rw-r--r-- | posix/wordexp-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c index 2a94caa367..cb15fe036b 100644 --- a/posix/wordexp-test.c +++ b/posix/wordexp-test.c @@ -107,17 +107,17 @@ main (int argc, char *argv[]) int test; int fail = 0; - setenv ("IFS", IFS, 1); - for (test = 0; test_case[test].retval != -1; test++) - if (testit (&test_case[test])) - ++fail; - if (argc > 1) { command_line_test (argv[1]); return 0; } + setenv ("IFS", IFS, 1); + for (test = 0; test_case[test].retval != -1; test++) + if (testit (&test_case[test])) + ++fail; + pw = getpwnam ("root"); if (pw != NULL) { |