coreutils/tests/by-util
Michael Debertol ce0801db90 tests/mv: test uutils mv instead of system util
Calling `cmd_keepenv("mv")` spawned the system `mv` instead of
the uutils `mv`. Also, `keepenv` isn't necessary because it doesn't
need to inherit environment variables.
We now actually check the stderr, because previously the result of
`ends_with` was not used, making the test pass even when it shouldn't.

I disabled the test on windows because `mkdir` does not support `-m` on
windows, making the test fail because there will be no permission error.
On FreeBSD there isn't a permission error either, and `mv` succeeds.
2021-06-23 00:58:19 +02:00
..
test_arch.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_base32.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_base64.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05: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 tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05: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: improve symlink handling 2021-06-17 22:26:13 +02:00
test_csplit.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_cut.rs cut: fix -d= (#2424) 2021-06-18 12:10:40 +02:00
test_date.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05: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 du: add --dereference 2021-06-17 14:06:41 +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 Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03: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 groups: fix clippy lint in test 2021-06-09 12:39:25 +02:00
test_hashsum.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_head.rs fix clippy warnings and spelling 2021-06-04 15:39:34 +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 id/tests: skip tests for multiple_user feature if there's not at least coreutils id version 8.31 in $PATH 2021-06-16 23:52:55 +02:00
test_install.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05: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 tests ~ fix cargo clippy complaint (clippy::useless_format) 2021-06-06 19:28:25 -05: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: note that windows uses a different env var for tmpdir 2021-06-22 17:44:45 +02:00
test_more.rs refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_mv.rs tests/mv: test uutils mv instead of system util 2021-06-23 00:58:19 +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 tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05: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 ~ fix cargo clippy complaint (*allow* clippy::needless_borrow; for *false positives*) 2021-06-06 19:28:25 -05:00
test_pr.rs tests/pr: formatting 2021-06-12 18:03:00 +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 sleep: Add more test cases 2021-03-15 14:36:38 +01:00
test_sort.rs tests: keep env vars for the temporary directory 2021-06-22 17:43:46 +02:00
test_split.rs fix clippy warnings and spelling 2021-06-04 15:39:34 +02:00
test_stat.rs tests ~ fix cargo clippy complaint (*allow* clippy::needless_borrow; for *false positives*) 2021-06-06 19:28:25 -05:00
test_stdbuf.rs du/sort/od/stdbuf: make error handling of SIZE/BYTES/MODE arguments more consistent 2021-06-03 21:00:03 +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 refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_tail.rs fix clippy warnings and spelling 2021-06-04 15:39:34 +02:00
test_tee.rs tee: refactor tests for #1982 2021-04-05 23:05:07 +02:00
test_test.rs test: Implement [ expr ] syntax 2021-06-19 18:49:21 +03: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 refactor ~ cargo make format 2021-05-31 08:23:58 -05:00
test_true.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_truncate.rs fix clippy warnings and spelling 2021-06-04 15:39:34 +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 ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05: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 tests ~ fix cargo clippy complaint (*allow* clippy::needless_borrow; for *false positives*) 2021-06-06 19:28:25 -05:00
test_wc.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_who.rs tests ~ fix cargo clippy complaint (*allow* clippy::needless_borrow; for *false positives*) 2021-06-06 19:28:25 -05:00
test_whoami.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_yes.rs tests ~ add missing test_UTIL module files (with 'ToDO' comments) 2020-06-02 11:25:09 -05:00