coreutils/tests/by-util
Walid ebcd86df07
env: adds --ignore-signal (#6377)
* env: adds --ignore-signal
This commit implement #6164.

* env: handle STOP signal and fix styling issue

* env: fix encoded bytes

* env: adds SAFETY comment and handle special signals in ignore_signal

* env: fix parsing to have compatible behaviour

* env: remove derive from Options

* env: changed safety comment, handle duplications after parsing and non-unix cfg

* env: adds tests for ignore-signal parsing and invalid and special signals

* env: change signal values to be non-constant

* env: adds testing for signal ignoring

* env: styling and remove unix specific derive

* test_env: add SIGSTOP to cspell workspace wordlist

* env: makes signal handling unix specific

* env: make ignore-signal function invocation unix specific

* test_env: make signal vector use slices ref instead of vec (linter)

* env: makes ignore-signal in options unix specific

* test_env: add unix specific import
2024-05-23 22:01:39 +02:00
..
test_arch.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_base32.rs base32/base64/basenc: permit repeating -d/-i/-w flags 2024-02-24 21:11:18 +01:00
test_base64.rs base32/base64/basenc: permit repeating -d/-i/-w flags 2024-02-24 21:11:18 +01:00
test_basename.rs basename+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_basenc.rs basenc+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_cat.rs cat+tests: simplify spell-checker exceptions 2024-04-30 18:28:20 +02:00
test_chcon.rs chcon: allow repeated flags and arguments 2024-03-09 22:52:55 +01:00
test_chgrp.rs chgrp: fix clippy warning 2024-03-10 13:56:31 +01:00
test_chmod.rs util: added umask manipulation (#6404) 2024-05-19 21:56:41 +02:00
test_chown.rs clippy: fix redundant_clone lint warnings in tests 2024-04-21 01:26:50 +02:00
test_chroot.rs clippy: fix redundant_clone lint warnings in tests 2024-04-21 01:26:50 +02:00
test_cksum.rs cksum: improve the blake2b detection algo corner case 2024-05-17 22:09:41 +02:00
test_comm.rs comm: implement and test correct handling of repeated flags 2024-03-23 23:35:40 +01:00
test_cp.rs cp: parent-perm-race gnu fix (#6403) 2024-05-20 08:17:17 +02:00
test_csplit.rs csplit: do not emit remainder of input after an error 2024-03-23 23:21:53 +01:00
test_cut.rs cut: two new tests; -d conflict & no arg 2024-04-04 21:33:22 +03:30
test_date.rs date: support -f - to read from stdin 2024-03-31 22:05:47 +02:00
test_dd.rs dd: fix flaky test_null_stats 2024-04-07 22:45:35 +02:00
test_df.rs df: fix rounding issue in test 2023-12-21 10:46:11 +01:00
test_dir.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_dircolors.rs dircolors: accept repeated flags 2024-03-30 22:50:57 +01:00
test_dirname.rs dirname: accept repeated flag 2024-03-30 22:50:52 +01:00
test_du.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_echo.rs echo: do not infer long args 2024-01-29 17:40:22 +01:00
test_env.rs env: adds --ignore-signal (#6377) 2024-05-23 22:01:39 +02:00
test_expand.rs Merge pull request #5875 from cakebaker/expand_make_tab_explicit_in_test 2024-01-26 14:36:48 +01:00
test_expr.rs expr: coerce to string before comparing values 2023-12-18 22:24:31 +01:00
test_factor.rs use num_prime for factorisation to fix gnu test 2024-04-21 11:24:25 +02:00
test_false.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_fmt.rs fmt: fix error priority, make goal-errors more helpful 2024-05-06 19:36:39 +02:00
test_fold.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_groups.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
test_hashsum.rs hashsum: rename the blake2b algo with --tag + manage the different length 2024-05-18 16:16:26 +02:00
test_head.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_hostid.rs hostid: return correct exit code on error 2024-04-14 15:42:13 +02:00
test_hostname.rs tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD 2023-12-11 12:45:16 +01:00
test_id.rs id: mark passwd-format and pretty-print as conflicting 2024-04-28 23:05:43 +02:00
test_install.rs clippy: fix redundant_clone lint warnings in tests 2024-04-21 01:26:50 +02:00
test_join.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_kill.rs kill+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_link.rs Merge pull request #5182 from sylvestre/clippy_ 2023-08-21 16:21:02 -04:00
test_ln.rs ln: fix "unused import" warning on Android 2024-01-08 17:17:43 +01:00
test_logname.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_ls.rs ls: Fix quoting alignment 2024-05-15 09:59:38 +02:00
test_mkdir.rs util: added umask manipulation (#6404) 2024-05-19 21:56:41 +02:00
test_mkfifo.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_mknod.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_mktemp.rs mktemp+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_more.rs more: fix incorrect tests 2024-03-22 15:13:53 +01:00
test_mv.rs Disabling compare_xattrs cp and mv related tests on OpenBSD 2024-05-09 18:24:39 +02:00
test_nice.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_nl.rs Fix errors reported by new version of cspell 2024-02-05 09:12:52 +01:00
test_nohup.rs config terminal simulation for specific stdios only 2024-04-23 19:56:17 +02:00
test_nproc.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_numfmt.rs numfmt+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_od.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_paste.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_pathchk.rs pathchk: remove useless comments 2024-01-09 15:19:22 +01:00
test_pinky.rs tests: disable tests for tools unsupported on OpenBSD 2024-01-19 17:37:45 +01:00
test_pr.rs pr: return correct exit code on error 2024-04-14 15:42:13 +02:00
test_printenv.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_printf.rs printf+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_ptx.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_pwd.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_readlink.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_realpath.rs realpath+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_rm.rs rm: add test for "rm .\dir\ -rf" on Windows 2024-01-28 16:36:55 +01:00
test_rmdir.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_runcon.rs Fix clippy warnings with Rust 1.72.0 2023-08-25 13:22:02 +02:00
test_seq.rs seq: add the unit test even if they are failing for now (#6236) 2024-04-21 14:48:03 +02:00
test_shred.rs shred: accept shortcuts for stringly-enum arguments 2024-04-14 15:39:46 +02:00
test_shuf.rs shuf: fix error message text on negative-sized ranges 2024-03-09 22:51:13 +01:00
test_sleep.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_sort.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_split.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_stat.rs stat: should fail without arguments #5928 (#5935) 2024-02-02 17:00:35 +01:00
test_stdbuf.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_stty.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_sum.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_sync.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_tac.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_tail.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_tee.rs Merge pull request #6162 from BenWiederhake/dev-undo-custom-exit-codes 2024-04-25 08:11:41 +02:00
test_test.rs clippy: fix warnings introduced by Rust 1.75 2023-12-28 18:17:06 +01:00
test_timeout.rs remove second sh process to have timeout waiting for the right process 2024-03-12 19:08:51 +01:00
test_touch.rs touch: accept shortcuts for stringly-enum arguments 2024-04-14 15:39:46 +02:00
test_tr.rs tr: don't truncate when not translating 2024-05-04 19:55:49 +02:00
test_true.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_truncate.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_tsort.rs tsort: returns error when input is dir - same as GNU tsort (#5860) 2024-01-19 15:39:00 +01:00
test_tty.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_uname.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_unexpand.rs unexpand: allow multiple files & show error message if a directory is specified 2024-01-24 16:01:26 +01:00
test_uniq.rs uniq: accept shortcuts for stringly-enum arguments 2024-04-14 15:39:46 +02:00
test_unlink.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_uptime.rs tests: disable tests for tools unsupported on OpenBSD 2024-01-19 17:37:45 +01:00
test_users.rs clippy: fix warnings introduced by Rust 1.74 2023-11-16 16:21:28 +01:00
test_vdir.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_wc.rs wc: accept shortcuts for stringly-enum arguments 2024-04-14 15:39:47 +02:00
test_who.rs tests: disable tests for tools unsupported on OpenBSD 2024-01-19 17:37:45 +01:00
test_whoami.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
test_yes.rs Add license headers on all files 2023-08-21 10:49:27 +02:00