1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 10:41:03 +00:00
uutils-coreutils/tests/by-util
Michael Debertol 849086e9c5 sort: handle cases where the output file is also an input file
In such cases we have to create a temporary copy of the input file to prevent
overwriting the input with the output. This only affects merge sort, because it
is the only mode where we start writing to the output before having read all inputs.
2021-07-31 21:02:18 +02:00
..
test_arch.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_base32.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_base64.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_basename.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_cat.rs tests ~ fix cargo clippy complaint (clippy::needless_borrow) 2021-06-06 19:28:25 -05:00
test_chgrp.rs chgrp: fix clippy and spell-check warnings 2021-06-11 17:24:12 +02:00
test_chmod.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_chown.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_chroot.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_cksum.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_comm.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_cp.rs cp: always delete the destination for symlinks 2021-06-19 18:59:57 +02:00
test_csplit.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_cut.rs tests ~ fix spelling errors 2021-06-19 18:40:22 -05:00
test_date.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_df.rs rustfmt the recent change 2021-05-08 13:13:52 +02:00
test_dircolors.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_dirname.rs tr/dirname: fix clap short_alias 2021-04-30 20:19:43 +02:00
test_du.rs test_du: ignore unsupported --time=birth 2021-07-19 06:55:11 +07:00
test_echo.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_env.rs tests ~ fix clippy complaint (clippy::bool_assert_comparision) 2021-06-06 19:17:18 -05:00
test_expand.rs Silent the spell checker on a test examples 2021-07-31 10:38:32 +02:00
test_expr.rs expr: support arbitrary precision integers (#2271) 2021-05-29 23:25:23 +02:00
test_factor.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_false.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_fmt.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_fold.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_groups.rs tests: fix tests for CICD environment 2021-07-08 11:17:18 +02:00
test_hashsum.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_head.rs rustfmt the recent change 2021-07-04 13:01:31 +02:00
test_hostid.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_hostname.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_id.rs tests/common: refactor: use TestScenario instead of util_name for expected_result() 2021-07-07 22:46:16 +02:00
test_install.rs tests: install: Add tests for '--backup' 2021-06-27 09:55:10 +02:00
test_join.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_kill.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_link.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_ln.rs ln: don't return an empty path in relative_path 2021-06-18 11:53:29 +02:00
test_logname.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_ls.rs Merge pull request #2447 from jhscheer/locale_c 2021-06-23 12:36:40 +02:00
test_mkdir.rs fix a lot of clippy warnings 2021-05-29 15:11:22 +02:00
test_mkfifo.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_mknod.rs Migrate mknod to clap, closes #2051 (#2056) 2021-05-05 22:59:40 +02:00
test_mktemp.rs mktemp: adapt to standardized error handling 2021-06-28 13:55:55 +02:00
test_more.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_mv.rs Merge pull request #2447 from jhscheer/locale_c 2021-06-23 12:36:40 +02:00
test_nice.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_nl.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_nohup.rs nohup: move from getopts to clap (#1871) 2021-03-22 20:09:00 +01:00
test_nproc.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_numfmt.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_od.rs od: replace 'piped_stdin' to make test stable 2021-06-04 17:22:45 +02:00
test_paste.rs fix a lot of clippy warnings 2021-05-29 15:11:22 +02:00
test_pathchk.rs tests ~ fix cargo clippy complaint (clippy::needless_borrow) 2021-06-06 19:28:25 -05:00
test_pinky.rs tests/common: refactor: use TestScenario instead of util_name for expected_result() 2021-07-07 22:46:16 +02:00
test_pr.rs tests/pr: include one more possible minute 2021-06-18 18:49:39 +02:00
test_printenv.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_printf.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_ptx.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_pwd.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_readlink.rs fix a lot of clippy warnings 2021-05-29 15:11:22 +02:00
test_realpath.rs realpath: refactor tests for #1982 2021-04-05 23:55:02 +02:00
test_relpath.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_rm.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_rmdir.rs rmdir: match GNU error output 2021-05-31 19:30:54 +08:00
test_seq.rs rustfmt the recent change 2021-06-02 18:43:35 +02:00
test_shred.rs shred, stat, tail: Remove direct usage of CmdResult fields in test 2021-04-17 18:50:41 +03:00
test_shuf.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_sleep.rs tests/sleep: fmt 2021-07-12 20:21:20 +02:00
test_sort.rs sort: handle cases where the output file is also an input file 2021-07-31 21:02:18 +02:00
test_split.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_stat.rs stat: Support \t in --printf format 2021-07-23 19:04:18 +03:00
test_stdbuf.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_sum.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_sync.rs test: fix tests 2021-05-26 03:07:49 +03:00
test_tac.rs Merge pull request #2516 from jfinkels/tac-read-dir-error-message 2021-07-31 09:49:54 +02:00
test_tail.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_tee.rs tee: refactor tests for #1982 2021-04-05 23:05:07 +02:00
test_test.rs [: add support for --help and --version 2021-07-06 13:15:07 +02:00
test_timeout.rs timeout: disable timeout if it is set to zero 2021-06-10 21:24:43 +02:00
test_touch.rs touch: support @<timestamp> date format 2021-06-15 22:43:40 +02:00
test_tr.rs Merge pull request #2486 from hbina/hbina-tr-return-err-when-extra-args 2021-07-10 20:51:27 +02:00
test_true.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_truncate.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_tsort.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_tty.rs tty: correct exit code for write errrors 2021-06-16 17:55:48 +02:00
test_uname.rs tests/uname: add --operating-system test 2021-07-06 23:40:38 +01:00
test_unexpand.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_uniq.rs fix a lot of clippy warnings 2021-05-29 15:11:22 +02:00
test_unlink.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_uptime.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_users.rs fix some issues with locale (replace "LANGUAGE" with "LC_ALL") 2021-06-23 11:30:28 +02:00
test_wc.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_who.rs tests/common: refactor: use TestScenario instead of util_name for expected_result() 2021-07-07 22:46:16 +02:00
test_whoami.rs fix various clippy issues 2021-07-11 11:22:33 +02:00
test_yes.rs tests ~ add missing test_UTIL module files (with 'ToDO' comments) 2020-06-02 11:25:09 -05:00