Dominik Bittner
3714e2201b
tty: Move from getopts to clap ( #1956 )
...
+ tty: Add some tests
2021-03-29 13:00:47 +02:00
Jan Scheer
a9a3794d5a
chmod: add tests
2021-03-28 20:56:37 +02:00
jaggededgedjustice
88d0bb01c0
Add shuf tests ( #1958 )
...
* Add tests for shuf
* Fixup GNU tests for shuf
2021-03-28 17:52:01 +02:00
Craig Pastro
6d4f70ccb2
shuf: move from getopts to clap ( #1950 )
2021-03-28 15:08:37 +02:00
Sylvestre Ledru
9758219b57
Merge pull request #1953 from sivachandran/pathch-codecov
...
pathchk: improve unit test code coverage with more tests
2021-03-28 15:05:31 +02:00
Jan Scheer
43c6a52b63
chmod: move from getopts to clap
2021-03-28 13:11:39 +02:00
Sivachandran Paramasivam
dd0addb9c1
pathchk: improve unit test code coverage with more tests
2021-03-28 16:30:49 +05:30
Sylvestre Ledru
1bfea356a6
refresh cargo.lock with recent updates
2021-03-28 10:36:44 +02:00
Sylvestre Ledru
8816f29267
Merge pull request #1949 from Goorzhel/1927
...
test_install: Add sleeps
2021-03-28 10:12:53 +02:00
Antonio Gurgel
a655117a5f
std:
🧵 :sleep needs target_os
...
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2021-03-28 00:42:25 -07:00
Sylvestre Ledru
94dd70e1d0
Merge pull request #1948 from k0ur0x/comm-clap
...
comm: move from getopts to clap
2021-03-28 09:40:47 +02:00
Antonio Gurgel
ebb4568d52
Forgot to unignore the test
2021-03-27 22:46:57 -07:00
Antonio Gurgel
01eb913c05
test_install: Add sleeps
...
To ensure timestamps don't match. Fixes #1927 .
2021-03-27 19:37:58 -07:00
k0ur0x
bcb1828ad6
comm: move from getopts to clap
2021-03-28 05:51:43 +04:30
Sylvestre Ledru
4f6041e39d
Only close if stale for one year
2021-03-27 14:58:16 -07:00
Sylvestre Ledru
dc879634cb
Merge pull request #1839 from jhscheer/iss1769
...
rm: fix for -d to match GNU's output #1769
2021-03-27 22:56:16 +01:00
Sylvestre Ledru
ab32fd2ba6
refresh cargo.lock with recent updates
2021-03-27 20:03:47 +01:00
Ivan
500771c78d
tee: should match GNU's output if used with /dev/full ( #1944 )
...
+ aligned 'tee' output with GNU tee when one of the files is '/dev/full'
+ don't stop tee when one of the outputs fails; just continue and return
error status from tee in the end
Co-authored-by: Ivan Rymarchyk <irymarchyk@arlo.com>
2021-03-27 20:02:49 +01:00
Yagiz Degirmenci
f66a188414
mkfifo: general refactor, move to clap, add tests ( #1945 )
...
* mkfifo: general refactor, move to clap, add unimplemented flags
* chore: update Cargo.lock
* chore: delete unused variables, simplify multiple lines with crash
* test: add tests
* chore: revert the use of crash
* test: use even more invalid mod mode
2021-03-27 20:00:59 +01:00
Yagiz Degirmenci
0bdd61af5e
cksum: use clap for argument management ( #1943 )
2021-03-27 13:31:29 +01:00
Yagiz Degirmenci
ac7edcc4fa
ptx: delete getopts dependency ( #1942 )
...
* chore: delete getopts dependency
* deps: update Cargo.lock
2021-03-27 13:31:06 +01:00
Sylvestre Ledru
2ba56a7765
Merge pull request #1925 from sylvestre/unbreak-ci
...
Fix the install /dev/null behavior
2021-03-27 11:53:59 +01:00
Sylvestre Ledru
16878c2daa
Create CODE_OF_CONDUCT.md
2021-03-27 10:54:18 +01:00
Sylvestre Ledru
e9ffaf87ea
ignore test_install_copy_then_compare_file_with_extra_mode
...
see https://github.com/uutils/coreutils/issues/1927
2021-03-27 10:47:28 +01:00
Sylvestre Ledru
4845b3f5dc
Enable the stale bot to close issues/PR without any activity ( #1926 )
2021-03-27 10:29:46 +01:00
Sylvestre Ledru
75700677ca
fix(install): improve the error output when the test is failing
2021-03-27 10:08:42 +01:00
Sylvestre Ledru
faef7e9214
fix(install): Unbreak the CI by bringing the old behavior for install of /dev/null
2021-03-27 10:08:06 +01:00
Sylvestre Ledru
e1439dd199
refresh cargo.lock with recent updates ( #1924 )
...
Updating memoffset v0.6.1 -> v0.6.2
Updating syn v1.0.64 -> v1.0.65
2021-03-27 10:06:22 +01:00
Antonio Gurgel
35675fdfe7
install: implement -C
/ --compare
( #1811 )
...
* install: implement `-C` / `--compare`
GNU coreutils [1] checks the following: whether
- either file is nonexistent,
- there's a sticky bit or set[ug]id bit in play,
- either file isn't a regular file,
- the sizes of both files mismatch,
- the destination file's owner differs from intended, or
- the contents of both files mismatch.
[1] https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/install.c?h=v8.32#n174
* Add test: non-regular files
* Forgot a #[test]
* Give up on non-regular file test
* `cargo fmt` install.rs
2021-03-27 09:18:47 +01:00
Jan Scheer
3ae714e88c
tests/tee: implemented tests for tee ( #1804 )
...
These tests are ported from `https://github.com/coreutils/coreutils/tests/misc/tee.sh `.
2021-03-27 09:16:45 +01:00
Rein F
3ca21940f8
nl: move from getopts to clap ( #1921 )
2021-03-27 08:55:31 +01:00
Terts Diepraam
955c547adf
ls: overrideable -n
option ( #1917 )
2021-03-26 19:12:01 +01:00
Yagiz Degirmenci
83f8140aaf
cat: move cat to clap ( #1910 )
2021-03-26 17:26:37 +01:00
Max Semenik
9e759267ee
pr: Remove commented out stuff from Cargo.toml
2021-03-26 18:19:52 +03:00
Max Semenik
bc2b385744
pr: Fix a bunch of Clippy problems
2021-03-26 17:57:21 +03:00
Max Semenik
62fe68850e
pr: Fixes after rebasing
...
Only the minimum needed to:
* Make everything compile without warnings
* Move files according to the new project structure
* Make tests pass
2021-03-26 17:57:19 +03:00
tilakpatidar
75b35e6002
pr: remove not required tests
2021-03-26 14:11:15 +03:00
tilakpatidar
837780c325
pr: pre PR tasks
2021-03-26 14:11:15 +03:00
tilakpatidar
054c05d5d8
pr: refactor get_lines_for_printing, write_columns, recreate_arguments
...
pr: extract recreate_arguments
pr: refactor get_line_for_printing
pr: refactor get_lines_for_printing
pr: refactor fetch_indexes generate for write_columns
pr: refactor write_columns
pr: refactor write_columns
2021-03-26 14:11:15 +03:00
tilakpatidar
f87ada5a11
pr: refactor logic for -n <path>
2021-03-26 14:11:15 +03:00
tilakpatidar
a7def9386b
pr: refactor common iterator between pr and mpr
...
pr: refactor common iterator between pr and mpr
pr: remove fill lines in mpr
2021-03-26 14:11:15 +03:00
tilakpatidar
aefc2eb540
pr: reformat with rustfmt
...
pr: refactor batching of pages in pr
2021-03-26 14:11:15 +03:00
tilakpatidar
40e7f3d900
pr: add -J and -S option
...
pr: add -J option
pr: add -S option
2021-03-26 14:11:15 +03:00
tilakpatidar
a4b723233a
pr: add more tests for form feed and include page_width option W
2021-03-26 14:11:15 +03:00
tilakpatidar
4bf5b86cde
pr: add last page option in +page
2021-03-26 14:11:15 +03:00
tilakpatidar
3be5dc6923
pr: fix form feed
...
pr: fix form feed
pr: Rustfmt
pr: add test for ff and -l option
2021-03-26 14:11:15 +03:00
Tilak Patidar
8f9b322897
pr: fix file not found in pr and mpr
2021-03-26 14:11:15 +03:00
Tilak Patidar
87227addc1
pr: fix printing form feed
2021-03-26 14:11:14 +03:00
Tilak Patidar
847046f3de
pr: add +page and -column
2021-03-26 14:11:14 +03:00
Tilak Patidar
5c6c524334
pr: refactor and fmt fill_missing_lines and error checks
...
pr: Remove unwanted brancing in fill_missing_lines
pr: Remove unnecessary error check
pr: Rename key to group_key in FileLine
pr: Reformat test_pr with rustfmt
2021-03-26 14:11:14 +03:00