minishell
minishell copied to clipboard
[FIX] Prevent infinite input loop when testing with readline in non-interactive mode
It would look like this:
Also:
- Let readline print to stderr (same as bash).
Bash's behavior can be tested with
bash -i 2>/dev/null. - Print welcome msg to stderr for consistency with readline.
The test failed because after the changes to the tester it needs the following change: 918116e
- [x] So first merge #368
Oh I was wrong, the necessary change mentioned above was just so we can see the output of valgrind.
But for some reason, the valgrind trace-children-skip doesn't work for one test case anymore...
- Fixed with 3331ad7 in https://github.com/LeaYeh/42_minishell_tester/pull/25