1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 17:51:07 +00:00
uutils-coreutils/tests/fixtures/dd
Jeffrey Finkelstein ba1ce7179b dd: move unit tests into dd.rs and test_dd.rs
Clean up unit tests in the `dd` crate to make them easier to
manage. This commit does a few things.

* move test cases that test the complete functionality of the `dd`
  program from the `dd_unit_tests` module up to the
  `tests/by-util/test_dd.rs` module so that they can take advantage of
  the testing framework and common testing tools provided by uutils,
* move test cases that test internal functions of the `dd`
  implementation into the `tests` module within `dd.rs` so that they
  live closer to the code they are testing,
* replace test cases defined by macros with test cases defined by
  plain old functions to make the test cases easier to read at a
  glance.
2022-02-15 21:50:48 -05:00
..
all-valid-ascii-chars-37eff01866ba3f538421b30b7cbefcac.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
ascii-10k.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
dd-block-cbs8.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-cbs16-win.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-cbs16.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-cbs16.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-consecutive-nl-cbs16.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-consecutive-nl-win.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-block-consecutive-nl.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-unblock-cbs8-win.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-unblock-cbs8.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-unblock-cbs16-win.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-unblock-cbs16.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
dd-unblock-cbs16.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
deadbeef-16.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
deadbeef-16.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
deadbeef-18d99661a1de1fc9af21b0ec2cd67ba3.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-atoe-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-atoibm-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-ebcdic-ltou-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-ebcdic-utol-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-etoa-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-ibm-ltou-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-ibm-utol-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-ltou-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-conv-sync-ibs-521-obs-1031-deadbeef.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-sync-ibs-521-obs-1031-random.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-sync-ibs-521-obs-1031-zeros.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-sync-ibs-1031-obs-521-deadbeef.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-sync-ibs-1031-obs-521-random.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-sync-ibs-1031-obs-521-zeros.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-conv-utol-seq-byte-values.spec Implements project testfing from root. 2021-06-30 14:47:48 -07:00
gnudd-deadbeef-first-16k.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-deadbeef-first-12345.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
gnudd-random-first-32k.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
lcase-ascii.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
lcase-ebcdic.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
lcase-ebcdic.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
lcase-ibm.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
lcase-ibm.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
null.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
ones-6ae59e64850377ee5470c854761551ea.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
random-5828891cb1230748e146f34223bbd3b5.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
self-transfer-256k.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
seq-byte-values-b632a992d3aed5d8d1a59cc5a5a455ba.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
seq-byte-values-odd.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
seq-byte-values-odd.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
seq-byte-values-swapped.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
seq-byte-values.test Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-file-exists-excl.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-file-exists-no-noatime.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-file-exists-notrunc.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-file-exists-truncated.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-ifile-exists-noatime.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
this-ofile-exists-noatime.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
ucase-ascii.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
ucase-ebcdic.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
ucase-ebcdic.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
ucase-ibm.spec dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
ucase-ibm.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
y-nl-1k.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
zero-256k.txt Implements project testfing from root. 2021-06-30 14:47:48 -07:00
zeros-620f0b67a91f7f74151bc5be745b7110.test dd: move unit tests into dd.rs and test_dd.rs 2022-02-15 21:50:48 -05:00
😎💚🦊.txt Adds test with unicode filename 2021-07-06 18:17:30 -07:00