test: shell-test.c: flush stdout for REP #10548

fix #10534
This commit is contained in:
Justin M. Keyes 2019-07-20 12:52:33 +02:00 committed by GitHub
parent 7f66fdb54d
commit 643ba06d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 $ ");