minishell icon indicating copy to clipboard operation
minishell copied to clipboard

[FIX] Prevent infinite input loop when testing with readline in non-interactive mode

Open itislu opened this issue 1 year ago • 1 comments

It would look like this: Screenshot from 2024-07-24 13-53-16

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.

itislu avatar Jul 24 '24 12:07 itislu

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

itislu avatar Jul 27 '24 02:07 itislu