1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-20 04:01:06 +00:00
uutils-coreutils/tests/by-util
Jeffrey Finkelstein 1aa6fd1468 timeout: fix bug in --preserve-status mode
Fix a bug where `timeout --preserve-status` was not correctly
preserving the status code of the child process if it timed out. When
that happens, the status code of the child process is considered to be
the signal number (in this case, `SIGTERM`). The exit status of
`timeout` is then 128 plus the numeric code associated with `SIGTERM`.
2022-03-12 19:53:11 -05:00
..
test_arch.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_base32.rs add some tests for Clap's InferLongArgs setting 2022-01-29 02:06:32 +01:00
test_base64.rs add some tests for Clap's InferLongArgs setting 2022-01-29 02:06:32 +01:00
test_basename.rs remove needless pass by value 2022-01-30 15:08:26 +01:00
test_basenc.rs basenc: add utility 2021-08-06 00:07:19 +02:00
test_cat.rs remove unnecessary 'to_owned' 2022-01-30 14:01:21 +01:00
test_chcon.rs use semicolons if nothing returned 2022-01-30 15:08:26 +01:00
test_chgrp.rs add some tests for Clap's InferLongArgs setting 2022-01-29 02:06:32 +01:00
test_chmod.rs chmod: ignore symbolic links during recursive directory traversal 2022-03-06 09:38:39 +08:00
test_chown.rs use semicolons if nothing returned 2022-01-30 15:08:26 +01:00
test_chroot.rs test_chroot: add comments 2021-09-22 13:53:57 +02:00
test_cksum.rs cksum: accept directories as empty files 2021-12-26 21:50:13 +01:00
test_comm.rs comm: return UResult from uumain() function 2021-12-24 13:40:18 -05:00
test_cp.rs Merge branch 'main' into cp-lb 2022-03-03 23:02:57 +01:00
test_csplit.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_cut.rs Fix clippy octal-escapes warning 2022-02-11 13:02:06 +00:00
test_date.rs add some tests for Clap's InferLongArgs setting 2022-01-29 02:06:32 +01:00
test_dd.rs Merge pull request #3156 from jfinkels/dd-cbs-blocks 2022-03-03 22:35:58 +01:00
test_df.rs df: Adds support for mount path prefix matching and input path (#3161) 2022-03-11 09:36:34 +01: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 add additional lints 2022-01-31 20:40:47 +01:00
test_echo.rs Allow echo with escapes to work with \0 2022-01-30 17:24:29 -05:00
test_env.rs add additional lints 2022-01-31 20:40:47 +01:00
test_expand.rs Silent the spell checker on a test examples 2021-07-31 10:38:32 +02:00
test_expr.rs expr: Use chars().count() as we can have some multibytes chars 2022-02-13 14:19:25 +01:00
test_factor.rs update to sha 0.10.0 (#3110) 2022-02-12 18:12:02 +01:00
test_false.rs false,true: Implement custom help, version 2022-02-01 14:29:26 +01: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 hashsum: Add BLAKE3 to Hashing Algorithms 2022-02-10 12:46:44 +05:30
test_head.rs Improve coverage / error messages from parse_size PR 2022-02-22 22:09:45 +01:00
test_hostid.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_hostname.rs silent the failed tests for now on freebsd 2021-08-24 09:32:27 +02:00
test_id.rs id: fix error handling for id_print() 2021-07-13 11:25:03 +02:00
test_install.rs install: add tests for error handling 2022-02-25 21:17:43 -05:00
test_join.rs join: flush stdout before final error message 2022-02-07 22:32:02 -05:00
test_kill.rs use 'Self' and derive 'Default' where possible 2022-01-30 15:08:26 +01:00
test_link.rs link: clap 3 2022-01-11 19:16:47 +01:00
test_ln.rs uucore: allow backup suffix with hyphen value 2022-01-31 12:10:57 +01:00
test_logname.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_ls.rs fix Rust 1.59 clippy lints 2022-02-25 09:39:48 +01:00
test_mkdir.rs mkdir: recursive reporting of created directories in verbose mode (#3217) 2022-03-06 21:36:08 +01:00
test_mkfifo.rs tests: delete 'error:' prefix from the tests 2021-05-26 02:45:53 +03:00
test_mknod.rs mknod: clap 3 2022-01-11 19:16:47 +01:00
test_mktemp.rs mktemp: adapt to standardized error handling 2021-06-28 13:55:55 +02:00
test_more.rs tests: use CmdResult::usage_error 2021-11-09 17:37:05 -03:00
test_mv.rs uucore: allow backup suffix with hyphen value 2022-01-31 12:10:57 +01:00
test_nice.rs tests: use CmdResult::usage_error 2021-11-09 17:37:05 -03: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 numfmt: ignore stdin write error 2022-01-17 16:24:40 +01:00
test_od.rs simplify some boolean operations 2022-01-30 14:01:21 +01:00
test_paste.rs tests/paste: Add test to avoid trimming extra whitespace 2022-01-30 23:03:11 -05:00
test_pathchk.rs tests ~ fix cargo clippy complaint (clippy::needless_borrow) 2021-06-06 19:28:25 -05:00
test_pinky.rs use 'char' instead of 'str' for single character patterns 2022-01-30 14:01:21 +01:00
test_pr.rs pr: fix heuristic for number-lines argument (#3109) 2022-03-05 10:26:12 +01:00
test_printenv.rs Refactored tests for more utilities 2021-04-18 02:32:43 +03:00
test_printf.rs printf: fix printf sci notation round up 2022-03-07 07:01:21 +01:00
test_ptx.rs tests ~ refactor/polish spelling (comments, names, and exceptions) 2021-05-31 08:23:57 -05:00
test_pwd.rs pwd: Properly resolve logical working directory (#2604) 2021-08-28 22:31:20 +02:00
test_readlink.rs Add Physical mode to realpath 2021-08-01 17:06:09 +01:00
test_realpath.rs realpath: Error when resolved symlink is absolute and ENOENT (#3037) 2022-03-03 23:06:15 +01:00
test_relpath.rs fix Rust 1.59 clippy lints 2022-02-25 09:39:48 +01:00
test_rm.rs rm: fix 3 leading hyphens for ---presume-input-tty 2022-01-18 12:54:50 +01:00
test_rmdir.rs rmdir: match GNU 2021-08-28 02:26:01 +02:00
test_runcon.rs runcon: added implementation and tests. 2021-08-22 21:59:41 +02:00
test_seq.rs seq: Allow option to receive immediate arguments 2022-02-06 09:45:38 -06: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 use semicolons if nothing returned 2022-01-30 15:08:26 +01:00
test_sleep.rs tests/sleep: fmt 2021-07-12 20:21:20 +02:00
test_sort.rs Clippy fixes in multiple crates 2022-03-10 22:31:21 -05:00
test_split.rs split: implement --line-bytes option 2022-03-10 22:51:49 -05:00
test_stat.rs Merge pull request #3053 from snobee/stat-handle-negative-time 2022-02-08 20:45:21 +01:00
test_stdbuf.rs Improve coverage / error messages from parse_size PR 2022-02-22 22:09:45 +01:00
test_sum.rs Update message quoting and filename printing 2021-09-07 19:49:01 +02:00
test_sync.rs test: fix tests 2021-05-26 03:07:49 +03:00
test_tac.rs tac: add support for --regex option to tac 2021-09-11 22:54:55 -04:00
test_tail.rs Adjust 32-bit tests for tail,split,truncate,head 2022-02-22 13:49:20 +01:00
test_tee.rs remove explicit iter loops 2022-01-30 15:08:26 +01:00
test_test.rs test: fix wsl executable permission 2022-01-31 00:22:21 +01:00
test_timeout.rs timeout: fix bug in --preserve-status mode 2022-03-12 19:53:11 -05:00
test_touch.rs touch: implement - (#3158) 2022-03-06 23:00:42 +01:00
test_tr.rs tr: fix octal interpretation of repeat count string (#3178) 2022-02-25 12:11:53 +01:00
test_true.rs false,true: Implement custom help, version 2022-02-01 14:29:26 +01:00
test_truncate.rs Remove impractical test creating a file too large 2022-02-22 14:23:46 +01:00
test_tsort.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_tty.rs tty: Make test_stdout_fail() less flaky 2021-09-10 19:29:27 +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 tests/uniq: update test 2021-10-24 02:59:50 -03:00
test_unlink.rs unlink: Simplify, remove unsafe, move to core 2021-09-10 21:50:38 +02: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 wc: implement files0-from option 2022-02-04 10:12:08 -03:00
test_who.rs Clippy fixes in multiple crates 2022-03-10 22:31:21 -05:00
test_whoami.rs whoami: Run tests on Windows 2021-09-14 14:13:58 +02:00
test_yes.rs fix spell-check errors 2021-11-19 17:55:02 -06:00