coreutils/tests/by-util
Kyle Manna 376f4d90ef install: add tests for invalid owner and group
* Move the user and group resolution to the behavior decoding instead of
  re-running on every file/directory creation.  Simplifies code.
* Update error output to match GNU coreutils.
* Add tests to verify invalid owner and group.
2023-02-18 22:46:12 -06:00
..
test_arch.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_base32.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_base64.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_basename.rs basename: update to clap 4 2022-10-13 16:22:45 +02:00
test_basenc.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_cat.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_chcon.rs all: use array intoiterator 2022-04-05 10:39:31 +02:00
test_chgrp.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_chmod.rs chmod: change permissions for files present even when there is a missing file 2023-02-16 23:13:06 +01:00
test_chown.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_chroot.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_cksum.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_comm.rs Merge pull request #4314 from cakebaker/comm_total_with_output_delimiter 2023-02-16 14:24:02 +01:00
test_cp.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_csplit.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_cut.rs fix clippy complaint 2022-12-13 20:34:01 -05:00
test_date.rs tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304) 2023-02-16 15:33:33 +01:00
test_dd.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_df.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_dir.rs tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304) 2023-02-16 15:33:33 +01:00
test_dircolors.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_dirname.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_du.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_echo.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_env.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_expand.rs expand: fix formatting issues and cleanup 2023-01-27 21:08:16 +01:00
test_expr.rs tests: remove status_code, which is the same as code_is 2023-01-01 17:25:59 +01:00
test_factor.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_false.rs false,true: Implement custom help, version 2022-02-01 14:29:26 +01:00
test_fmt.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_fold.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_groups.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_hashsum.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_head.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_hostid.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_hostname.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_id.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_install.rs install: add tests for invalid owner and group 2023-02-18 22:46:12 -06:00
test_join.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_kill.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_link.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_ln.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_logname.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_ls.rs tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304) 2023-02-16 15:33:33 +01:00
test_mkdir.rs tests: fixed some tests on Windows 2022-10-18 10:00:28 +03:00
test_mkfifo.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_mknod.rs tests: remove status_code, which is the same as code_is 2023-01-01 17:25:59 +01:00
test_mktemp.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_more.rs tests: use CmdResult::usage_error 2021-11-09 17:37:05 -03:00
test_mv.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_nice.rs Support legacy argument syntax for nice 2023-01-18 11:44:41 +01:00
test_nl.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_nohup.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_nproc.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_numfmt.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_od.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_paste.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_pathchk.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_pinky.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_pr.rs Clippy fixes 2023-02-13 21:33:42 -05:00
test_printenv.rs Weird env variable names should trigger an error. 2022-11-06 17:35:00 +01:00
test_printf.rs printf: Default left-justify integer conversion to 1 width 2022-05-01 20:00:09 +02:00
test_ptx.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_pwd.rs pwd: support the env variable 'POSIXLY_CORRECT' 2022-10-26 11:40:46 +02:00
test_readlink.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_realpath.rs tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304) 2023-02-16 15:33:33 +01:00
test_relpath.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_rm.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_rmdir.rs Clippy fixes 2023-02-13 21:33:42 -05:00
test_runcon.rs all: use array intoiterator 2022-04-05 10:39:31 +02:00
test_seq.rs tests: revise/standardize usage error testing (for dd, install, mktemp, rm, seq, and touch) 2023-01-13 22:14:48 -06:00
test_shred.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_shuf.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_sleep.rs test/sleep: add and refine sleep test cases 2023-01-08 12:10:32 -06:00
test_sort.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_split.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_stat.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_stdbuf.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_stty.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_sum.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_sync.rs fix: address test failures 2022-11-04 13:35:54 +03:00
test_tac.rs tests: Adjust some tests to use improved UChild. test_tac: Ignore pipe tests on windows. 2022-12-02 13:13:10 +01:00
test_tail.rs tail: Fix parsing of sleep interval. Use duration parser from fundu crate. 2023-02-12 20:23:55 +01:00
test_tee.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_test.rs Merge pull request #4261 from Joining7943/tests-util-enhance-cmdresult 2023-01-25 10:06:32 +01:00
test_timeout.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_touch.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_tr.rs tr: Remove the extra newline in stderr 2023-02-15 02:04:43 +08:00
test_true.rs false,true: Implement custom help, version 2022-02-01 14:29:26 +01:00
test_truncate.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_tsort.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_tty.rs tests: Use UChild in tests. Rename run_no_wait_child to run_no_wait and return UChild 2022-12-02 08:06:45 +01:00
test_uname.rs tests/util: Introduce CmdResult::stdout_str_apply ... to preprocess stdout, stderr before asserting 2023-01-22 14:48:23 +01:00
test_unexpand.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_uniq.rs tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is. 2023-01-22 14:56:19 +01:00
test_unlink.rs unlink: update to clap 4 2022-10-13 17:50:43 +02:00
test_uptime.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_users.rs all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
test_vdir.rs tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304) 2023-02-16 15:33:33 +01:00
test_wc.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_who.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_whoami.rs clippy: fix warnings introduced with Rust 1.67.0 2023-01-27 17:37:56 +01:00
test_yes.rs tests/util: Improve UChild. Cleanup redundant functions in util.rs. 2022-12-02 08:06:48 +01:00