coreutils/tests/by-util
Arijit Dey 2593b3f2e1
Rewrite the cli usage function
Add crossterm as dependency

Complete the paging portion

Fixed tests

cp: extract linux COW logic into function

cp: add --reflink support for macOS

Fixes #1773

Fix error in Cargo.lock

Quit automatically if not much output is left

Remove unnecessary redox and windows specific code

Handle line wrapping

Put everything according to uutils coding standards

Add support for multiple files

Fix failing test

Use the args argument to get cli arguments

Fix bug where text is repeated multiple times during printing

Add a little prompt

Add a top file prompt for multiple files

Change println in loops to stdout.write and setup terminal only once

Fix bug where all lines were printed in a single row

Remove useless file and fix failing test

Fix another test
2021-04-29 20:23:35 +05:30
..
test_arch.rs Fix some tests to not use CmdResult fields 2021-04-10 23:30:50 +03:00
test_base32.rs base32: Fixed style violations. Added tests 2021-04-26 08:00:55 -07:00
test_base64.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_basename.rs Change unchecked unwrapping to unwrap_or_default for Args-trait (#1845) (#1852) 2021-04-25 23:28:42 +02:00
test_cat.rs rustfmt the recent change 2021-04-24 12:46:06 +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 Merge branch 'master' into split-wsl-detection 2021-04-24 10:24:13 +02:00
test_df.rs refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_dircolors.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_dirname.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_du.rs Merge branch 'master' into split-wsl-detection 2021-04-24 10:24:13 +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 refactor tests (#1982) 2021-04-23 02:28:46 +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 refactor tests (#1982) 2021-04-23 02:28:46 +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 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 tests ~ add missing test_UTIL module files (with 'ToDO' comments) 2020-06-02 11:25:09 -05:00
test_link.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05: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 ls: add test for color grid alignment 2021-04-26 14:42:42 +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 tests ~ add missing test_UTIL module files (with 'ToDO' comments) 2020-06-02 11:25:09 -05:00
test_mktemp.rs Ran cargo fmt 2021-04-18 02:33:52 +03:00
test_more.rs Rewrite the cli usage function 2021-04-29 20:23:35 +05:30
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 Refactored tests for more utilities 2021-04-18 02:32:43 +03: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: refactor tests for #1982 2021-04-05 21:48:39 +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 Merge pull request #2106 from miDeb/sort-debug 2021-04-24 18:46:58 +02:00
test_split.rs Refactor(split) - migrate from getopts to clap (#1712) 2021-02-11 20:45:23 +01:00
test_stat.rs refactor tests (#1982) 2021-04-23 02:28:46 +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 tests ~ reorganize tests 2020-06-01 18:30:04 -05: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 refactor tests (#1982) 2021-04-23 02:28:46 +02:00
test_true.rs tests ~ reorganize tests 2020-06-01 18:30:04 -05:00
test_truncate.rs Merge pull request #2136 from jaggededgedjustice/allow-truncate-size-and-reference 2021-04-27 22:43:25 +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 Refactored tests for more utilities 2021-04-18 02:32:43 +03: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 cat: Unrevert splice patch (#2020) 2021-04-10 22:19:53 +02:00
test_who.rs refactor tests (#1982) 2021-04-23 02:28:46 +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