coreutils/tests
Jeffrey Finkelstein 1af709f642 dd: truncate to specified seek length
When specifying `seek=N` and *not* specifying `conv=notrunc`, truncate
the output file to `N` blocks instead of truncating it to zero before
starting to write output. For example

    $ printf "abc" > outfile
    $ printf "123" | dd bs=1 skip=1 seek=1 count=1 status=noxfer of=outfile
    1+0 records in
    1+0 records out
    $ cat outfile
    a2

Fixes #3068.
2022-02-05 16:07:44 -05:00
..
benches/factor all: change macros 2022-01-29 15:26:32 +01:00
by-util dd: truncate to specified seek length 2022-02-05 16:07:44 -05:00
common use 'Self' and derive 'Default' where possible 2022-01-30 15:08:26 +01:00
fixtures Merge pull request #2902 from jtracey/join-non-unicode-sep 2022-01-31 21:54:56 +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