diff --git a/test/functional/fixtures/shell-test.c b/test/functional/fixtures/shell-test.c index 1ff1598e2b..f453ea69d9 100644 --- a/test/functional/fixtures/shell-test.c +++ b/test/functional/fixtures/shell-test.c @@ -121,6 +121,7 @@ int main(int argc, char **argv) fprintf(stderr, "Unknown first argument: %s\n", argv[1]); return 3; } + wait(); // Flush stdout. return 0; } else if (argc == 1) { fprintf(stderr, "ready $ ");