1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-18 03:01:06 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein 766c85fb5e dd: correct order and phrasing of truncated record
Place the "truncated records" line below the "records out" line in the
status report produced by `dd` and properly handle the singularization
of the word "record" in the case of 1 truncated record. This matches
the behavior of GNU `dd`.

For example

    $ printf "ab" | dd cbs=1 conv=block status=noxfer > /dev/null
    0+1 records in
    0+1 records out
    1 truncated record

    $ printf "ab\ncd\n" | dd cbs=1 conv=block status=noxfer > /dev/null
    0+1 records in
    0+1 records out
    2 truncated records
2022-02-18 23:49:33 -05:00
..
benches/factor all: change macros 2022-01-29 15:26:32 +01:00
by-util dd: correct order and phrasing of truncated record 2022-02-18 23:49:33 -05:00
common tests: add CmdResult::stdout_is_fixture_bytes() 2022-02-15 21:50:48 -05:00
fixtures Merge pull request #2981 from jfinkels/split-hex-numbers 2022-02-17 23:20:58 +01:00
test_util_name.rs tests: silence clippy warnings for unused_imports 2021-10-10 00:52:18 +02:00
tests.rs tests ~ use build.rs build list of test_UTIL module files 2020-06-02 12:17:30 -05:00