1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 01:31:08 +00:00
uutils-coreutils/tests/common
Nicolas Boichat 59cd6e5e41 tests: Move seq/yes run function to Ucommand::run_stdout_starts_with
Tests for both `seq` and `yes` run a command that never terminates,
and check the beggining of their output in stdout, move the copied
parts of the wrapper function to common/util.

We still need to use slightly different logic to parse exit value
as `seq` returns success if stdout gets closed, while `yes` fails.
2025-03-22 22:02:11 +01:00
..
macros.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
mod.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
random.rs tests/common/random.rs: adapt to rand API changes 2025-01-30 08:52:42 +01:00
util.rs tests: Move seq/yes run function to Ucommand::run_stdout_starts_with 2025-03-22 22:02:11 +01:00