coreutils/tests/by-util
Jeffrey Finkelstein eeef8290df head: display errors for each input file
Change the behavior of `head` to display an error for each problematic
file, instead of displaying an error message for the first problematic
file and terminating immediately at that point. This change now matches
the behavior of GNU `head`.

Before this commit, the first error caused the program to terminate
immediately:

    $ head a b c
    head: error: head: cannot open 'a' for reading: No such file or directory

After this commit:

    $ head a b c
    head: cannot open 'a' for reading: No such file or directory
    head: cannot open 'b' for reading: No such file or directory
    head: cannot open 'c' for reading: No such file or directory
2021-05-17 08:19:47 -04:00
..
test_arch.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_base32.rs base64: Refactor argument parsing 2021-05-01 11:36:46 -07:00
test_base64.rs base64: Refactor argument parsing 2021-05-01 11:36:46 -07:00
test_basename.rs tests/basename: add tests for error messages 2021-05-03 23:22:00 +09:00
test_cat.rs Ignore test_domain_socket as it fails too often 2021-05-09 18:42:16 +02:00
test_chgrp.rs Merge branch 'master' into split-wsl-detection 2021-04-17 10:22:54 +02:00
test_chmod.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_chown.rs chown: fix parse_spec() for colon (#2060) 2021-04-18 00:11:59 +02:00
test_chroot.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_cksum.rs Ran cargo fmt 2021-04-18 02:33:52 +03:00
test_comm.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_cp.rs cp: add --reflink support for macOS 2021-04-24 19:26:15 +02:00
test_csplit.rs csplit: refresh of the previous PR 2020-12-28 17:21:29 +01:00
test_cut.rs cut: add gnu compatability to error messages 2021-04-03 20:55:10 +03:00
test_date.rs date: fix format literal for nanoseconds 2021-05-12 10:21:24 +02:00
test_df.rs rustfmt the recent change 2021-05-08 13:13:52 +02:00
test_dircolors.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_dirname.rs tr/dirname: fix clap short_alias 2021-04-30 20:19:43 +02:00
test_du.rs rustfmt the recent change 2021-05-08 13:13:52 +02:00
test_echo.rs rustfmt the recent change 2021-04-17 13:21:30 +02:00
test_env.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_expand.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_expr.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_factor.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_false.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_fmt.rs Fix fmt crashing on subtracting unsigned numbers (#2178) 2021-05-05 23:12:17 +02:00
test_fold.rs rustfmt the recent change 2021-04-17 13:21:30 +02:00
test_groups.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_hashsum.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_head.rs head: display errors for each input file 2021-05-17 08:19:47 -04: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 whoami/id: refactor tests for #1982 2021-04-17 22:29:07 +02:00
test_install.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_join.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_kill.rs kill: add integration tests 2021-05-01 16:57:51 +02:00
test_link.rs Add tests to check link fails with 1 or 3 argument(s) 2021-05-02 18:36:02 +08:00
test_ln.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_logname.rs Merge branch 'master' into split-wsl-detection 2021-04-17 10:22:54 +02:00
test_ls.rs Implement Total size feature (#2170) 2021-05-05 23:03:25 +02:00
test_mkdir.rs fix(mkdir) - Add --parent as alias of --parents 2020-12-18 14:41:59 +01:00
test_mkfifo.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_mknod.rs Migrate mknod to clap, closes #2051 (#2056) 2021-05-05 22:59:40 +02:00
test_mktemp.rs Ran cargo fmt 2021-04-18 02:33:52 +03:00
test_more.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_mv.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_nice.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_nl.rs Rustfmt new tests 2021-03-18 10:24:30 +01: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 numfmt: implement --delimiter 2021-03-15 11:55:56 -04:00
test_od.rs od: refactor tests for #1982 2021-04-01 02:16:15 +02:00
test_paste.rs paste: cleanup multi-stdin support (#1803) 2021-03-12 13:26:09 +01:00
test_pathchk.rs Add pre-commit hook + run fmt (#1959) 2021-03-30 21:24:01 +02:00
test_pinky.rs who: fix --lookup 2021-05-13 22:16:15 +02:00
test_printenv.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_printf.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_ptx.rs ptx: ignore empty regex (#1808) 2021-03-12 21:52:37 +01:00
test_pwd.rs refactor(pwd): move to clap + add a test 2020-11-03 23:12:16 +01:00
test_readlink.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_realpath.rs realpath: refactor tests for #1982 2021-04-05 23:55:02 +02:00
test_relpath.rs relpath(test) - fix: 'value assigned to 'result_stdout' is never read' 2021-05-02 09:42:53 +02:00
test_rm.rs rm: refactor tests for #1982 2021-04-06 00:04:49 +02:00
test_rmdir.rs Rustfmt new tests 2021-03-18 10:24:30 +01:00
test_seq.rs rustfmt some tests 2021-03-13 23:30:47 +01: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 refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_sleep.rs sleep: Add more test cases 2021-03-15 14:36:38 +01:00
test_sort.rs sort: make merging stable 2021-05-09 11:43:38 +02:00
test_split.rs Fix test_split_bytes_prime_part_size 2021-05-08 14:25:21 +02:00
test_stat.rs stat/uucore: refactor - move fsext.rs to uucore 2021-05-10 10:46:00 +02:00
test_stdbuf.rs do not pipe data into failure tests (#2072) 2021-04-17 10:07:45 +02:00
test_sum.rs sum: fix crash on invalid inputs, move to clap, add tests (#1952) 2021-03-29 13:03:56 +02:00
test_sync.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_tac.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_tail.rs rustfmt the recent change 2021-04-24 12:46:06 +02:00
test_tee.rs tee: refactor tests for #1982 2021-04-05 23:05:07 +02:00
test_test.rs test: improve handling of inverted Boolean expressions 2021-05-10 22:48:40 -04:00
test_timeout.rs rustfmt some tests 2021-03-13 23:30:47 +01:00
test_touch.rs touch: added unit test for test -m -t fail (#2089) 2021-04-18 22:36:43 +02:00
test_tr.rs tr: add test 2021-05-02 18:35:52 +02:00
test_true.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_truncate.rs rustfmt the recent change 2021-05-01 13:12:10 +02:00
test_tsort.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_tty.rs tty: Move from getopts to clap (#1956) 2021-03-29 13:00:47 +02:00
test_uname.rs uname(test): fix 'unused variable: result' 2021-05-02 09:41:09 +02:00
test_unexpand.rs feat(unexpand): move from getopts to clap (#1883) 2021-03-23 09:42:05 +01:00
test_uniq.rs uniq: implement group option 2021-04-04 15:22:17 +05:30
test_unlink.rs Rustfmt new tests 2021-03-18 10:24:30 +01:00
test_uptime.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_users.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_wc.rs wc: correct some error messages for invalid inputs 2021-05-15 10:35:21 -04:00
test_who.rs who: fix --lookup 2021-05-13 22:16:15 +02:00
test_whoami.rs whoami/id: refactor tests for #1982 2021-04-17 22:29:07 +02:00
test_yes.rs tests ~ add missing test_UTIL module files (with 'ToDO' comments) 2020-06-02 11:25:09 -05:00