1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 02:31:02 +00:00
uutils-coreutils/tests/fixtures/sort
Michael Debertol dc63133f14
sort: correctly inherit global flags for keys (#2302)
Closes #2254. We should only inherit global settings for keys when there
are absolutely no options attached to the key.

The default key (matching the whole line) is implicitly added only if no
keys are supplied.

Improved some error messages by including more context.
2021-05-29 23:25:56 +02:00
..
blanks.expected sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
blanks.expected.debug sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
blanks.txt sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
check_fail.txt sort: Support check 2016-06-14 22:21:30 +03:00
default_unsorted_ints.expected tests/sort: add test for default mode 2016-03-29 00:58:24 -04:00
default_unsorted_ints.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
default_unsorted_ints.txt tests/sort: add test for default mode 2016-03-29 00:58:24 -04:00
dictionary_order.expected sort: add "dictionary-order" flag. 2020-05-07 23:08:24 +02:00
dictionary_order.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
dictionary_order.txt sort: add "dictionary-order" flag. 2020-05-07 23:08:24 +02:00
exponents-positive-general.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
exponents-positive-general.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
exponents-positive-numeric.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
exponents-positive-numeric.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
exponents-positive-numeric.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
exponents_general.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
exponents_general.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
exponents_general.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
ext_sort.expected Incorporate overhead of Line struct 2021-04-19 21:24:52 -05:00
ext_sort.txt Incorporate overhead of Line struct 2021-04-19 21:24:52 -05:00
ext_stable.expected sort: make merging stable 2021-05-09 11:43:38 +02:00
ext_stable.txt sort: make merging stable 2021-05-09 11:43:38 +02:00
human-mixed-inputs-reverse.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs-reverse.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs-stable.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs-stable.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs-unique.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs-unique.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-mixed-inputs.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
human-numeric-whitespace.expected Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
human-numeric-whitespace.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
human-numeric-whitespace.txt Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
human_block_sizes.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
human_block_sizes.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
human_block_sizes.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
ignore_case.expected sort: Implement ignore-case 2017-01-21 13:30:22 -05:00
ignore_case.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
ignore_case.txt sort: Implement ignore-case 2017-01-21 13:30:22 -05:00
keys_blanks.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_blanks.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_blanks.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_closed_range.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_closed_range.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_closed_range.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_custom_separator.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_custom_separator.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_custom_separator.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_ignore_flag.expected sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
keys_ignore_flag.expected.debug sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
keys_ignore_flag.txt sort: correctly inherit global flags for keys (#2302) 2021-05-29 23:25:56 +02:00
keys_multiple_ranges.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_multiple_ranges.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_multiple_ranges.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_negative_size.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_negative_size.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_negative_size.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
keys_no_char_match.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_no_char_match.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_no_char_match.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_no_field_match.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_no_field_match.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_no_field_match.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_open_ended.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_open_ended.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
keys_open_ended.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
merge_ints_interleaved.expected sort --merge works, but ignores --unique and --reverse 2016-08-13 00:42:43 +01:00
merge_ints_interleaved_1.txt sort --merge works, but ignores --unique and --reverse 2016-08-13 00:42:43 +01:00
merge_ints_interleaved_2.txt sort --merge works, but ignores --unique and --reverse 2016-08-13 00:42:43 +01:00
merge_ints_interleaved_3.txt sort --merge works, but ignores --unique and --reverse 2016-08-13 00:42:43 +01:00
merge_ints_reversed.expected sort: make compare_by honour settings.reverse 2016-08-13 00:42:43 +01:00
merge_ints_reversed_1.txt sort: make compare_by honour settings.reverse 2016-08-13 00:42:43 +01:00
merge_ints_reversed_2.txt sort: make compare_by honour settings.reverse 2016-08-13 00:42:43 +01:00
merge_ints_reversed_3.txt sort: make compare_by honour settings.reverse 2016-08-13 00:42:43 +01:00
merge_stable.expected sort: make merging stable 2021-05-09 11:43:38 +02:00
merge_stable_1.txt sort: make merging stable 2021-05-09 11:43:38 +02:00
merge_stable_2.txt sort: make merging stable 2021-05-09 11:43:38 +02:00
mixed_floats_ints_chars_numeric.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
mixed_floats_ints_chars_numeric_stable.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_stable.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_stable.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_unique.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_unique.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_unique.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
mixed_floats_ints_chars_numeric_unique_reverse.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_unique_reverse.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
mixed_floats_ints_chars_numeric_unique_reverse.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
month_default.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
month_default.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
month_default.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
month_stable.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
month_stable.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
month_stable.txt sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
months-dedup.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
months-dedup.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
months-dedup.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
months-whitespace.expected Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
months-whitespace.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
months-whitespace.txt Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
multiple_decimals.expected Sort: Various fixes and performance improvements (#2057) 2021-04-10 11:56:20 +02:00
multiple_decimals_general.expected sort: implement --debug 2021-04-23 22:36:15 +02:00
multiple_decimals_general.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
multiple_decimals_general.txt sort: implement --debug 2021-04-23 22:36:15 +02:00
multiple_decimals_numeric.expected sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
multiple_decimals_numeric.expected.debug sort: make GNU test sort-debug-keys pass (#2269) 2021-05-28 22:38:29 +02:00
multiple_decimals_numeric.txt Sort: Various fixes and performance improvements (#2057) 2021-04-10 11:56:20 +02:00
multiple_files.expected sort: support multiple input files 2016-06-14 21:25:29 +03:00
multiple_files1.txt sort: support multiple input files 2016-06-14 21:25:29 +03:00
multiple_files2.txt sort: support multiple input files 2016-06-14 21:25:29 +03:00
numeric-floats-with-nan2.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
numeric-floats-with-nan2.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric-floats-with-nan2.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
numeric_fixed_floats.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_fixed_floats.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_fixed_floats.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_floats.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_floats.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_floats.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_floats_and_ints.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_floats_and_ints.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_floats_and_ints.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_floats_with_nan.expected tests: untrimmed stdout assertion (fix #1235) 2019-02-08 07:54:48 +11:00
numeric_floats_with_nan.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_floats_with_nan.txt tests: untrimmed stdout assertion (fix #1235) 2019-02-08 07:54:48 +11:00
numeric_unfixed_floats.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_unfixed_floats.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_unfixed_floats.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_unique.expected sort: dedup using compare_by (#2064) 2021-04-10 19:49:10 +02:00
numeric_unique.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_unique.txt sort: dedup using compare_by (#2064) 2021-04-10 19:49:10 +02:00
numeric_unsorted_ints.expected tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_unsorted_ints.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_unsorted_ints.txt tests/sort: refactor to match other tests 2016-03-29 00:58:24 -04:00
numeric_unsorted_ints_unique.expected sort: unique option support 2016-06-11 15:46:41 +03:00
numeric_unsorted_ints_unique.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
numeric_unsorted_ints_unique.txt sort: unique option support 2016-06-11 15:46:41 +03:00
version-empty-lines.expected Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
version-empty-lines.txt Sort: More small fixes (#2065) 2021-04-17 10:06:19 +02:00
version.expected sort: Version sort support 2016-06-14 20:33:09 +03:00
version.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
version.txt sort: Version sort support 2016-06-14 20:33:09 +03:00
words_unique.expected sort: dedup using compare_by (#2064) 2021-04-10 19:49:10 +02:00
words_unique.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
words_unique.txt sort: dedup using compare_by (#2064) 2021-04-10 19:49:10 +02:00
zero-terminated.expected Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00
zero-terminated.expected.debug sort: implement --debug 2021-04-23 22:36:15 +02:00
zero-terminated.txt Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent (#2008) 2021-04-08 22:07:09 +02:00