* test(more): Fix test_from_line_option race condition by increasing PTY delay
Increased the delay in run_more_with_pty() from 100ms to 500ms to allow
more time to fully render output before the test reads from the PTY.
The test was failing because it was reading too early, before more could
initialize the terminal and render the file content. The -F flag itself
works correctly.
* test_more: decrease the delay
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Added cleanup in test_alive to ensure all spawned processes are
terminated on successful test execution.
This also fixes a race condition that could occur: the check for
process is_alive might be executing while more is still parsing
the arguments.
* more handle errors with multiple files
* tests/more test refactor and new case
* tests/more new cases
* more: use show! and change exitstatus and adjust tests to new exitvalue
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>