1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 02:01:05 +00:00
uutils-coreutils/tests/fixtures
Michael Debertol e6f6b109a5 sort: implement --debug
This adds a --debug flag, which, when activated, will draw lines below
the characters that are actually used for comparisons.

This is not a complete implementation of --debug. It should, quoting the man page
for GNU sort: "annotate the part of the line used to sort, and warn
about questionable usage to stderr". Warning about "questionable usage"
is not part of this patch.

This change required some adjustments to be able to get the range that
is actually used for comparisons. Most notably, general numeric comparisons
were rewritten, fixing some bugs along the lines.

Testing is mostly done by adding fixtures for the expected debug output of
existing tests.
2021-04-23 22:36:15 +02:00
..
cat cat: Unrevert splice patch (#2020) 2021-04-10 22:19:53 +02:00
cksum cksum: add tests and fixtures (#1923) 2021-04-05 22:21:21 +02:00
comm comm: additional tests and status/stderr checking for existing tests 2016-02-22 09:59:06 -05:00
cp cp: add support for -x/--one-file-system (#1840) 2021-03-19 21:15:35 +01:00
csplit csplit: refresh of the previous PR 2020-12-28 17:21:29 +01:00
cut tests/cut: positive testcases for feature complete 2016-08-06 17:11:54 -04:00
dircolors dircolors: tests added 2016-05-11 00:43:51 +08:00
du Consistency with GNU version of du when doing du -h on an empty file 2021-04-01 19:42:43 -04:00
env env: add support for new '--file' option (includes testing) 2019-04-29 09:50:22 -05:00
expand test(expand): Add some tests for expand (#1505) 2020-05-15 18:09:10 -05:00
fmt test(fmt): Add some tests for fmt 2020-05-06 00:38:22 +02:00
fold fold: move to clap, add tests (#2015) 2021-04-06 22:51:27 +02:00
hashsum hashsum: added blake2 as a hashing algorithm (#1651) 2020-12-08 23:32:02 +01:00
head Rewrote head (#1911) 2021-03-29 13:08:48 +02:00
install install: implement stripping symbol table (#2047) 2021-04-10 11:53:29 +02:00
join tests: untrimmed stdout assertion (fix #1235) 2019-02-08 07:54:48 +11:00
mv rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
nl rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
numfmt numfmt: implement --field 2021-03-08 10:53:34 -05:00
od od: implement --traditional 2016-09-02 21:24:29 +02:00
paste rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
ptx ptx: ignore empty regex (#1808) 2021-03-12 21:52:37 +01:00
shuf Add shuf tests (#1958) 2021-03-28 17:52:01 +02:00
sort sort: implement --debug 2021-04-23 22:36:15 +02:00
sum rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
tac rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
tail tail: suppress headers when --quiet flag is used 2017-10-05 21:25:21 +02:00
tsort rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
unexpand feat(unexpand): move from getopts to clap (#1883) 2021-03-23 09:42:05 +01:00
uniq uniq: implement group option 2021-04-04 15:22:17 +05:30
wc bug(wc): Add a test for unexpected behavior (#1723) 2021-02-16 13:36:49 +01:00
.gitattributes .gitattributes: treat tests/fixtures/** as binary data to prevent CRLF convertion by git under Windows 2016-02-14 17:09:47 +01:00