Commit graph

9592 commits

Author SHA1 Message Date
Sylvestre Ledru
be6d5bfb9c Fix some redundant closure in test_shurf 2023-03-18 15:52:13 +01:00
Sylvestre Ledru
d42b4883e1 Fix some simply clippy warnings
With:
`cargo +nightly clippy --features unix --allow-dirty --fix -- -W clippy::pedantic`
2023-03-18 14:36:49 +01:00
august radjoe
89b83c2f6a
A better handler for ./coreutils date -f aze (#4482) 2023-03-18 14:19:57 +01:00
Daniel Hofstetter
882a35c3b6
Merge pull request #4526 from tertsdiepraam/date-d-should-return-1
`date`: make sure 'invalid date' message also returns exit code 1
2023-03-18 07:08:04 +01:00
Terts Diepraam
e3aab307fe
Merge pull request #4189 from jfinkels/dd-stdin-from-file-descriptor
dd: open stdin from file descriptor when possible
2023-03-18 01:30:31 +01:00
Terts Diepraam
1b1446ce0c date: make sure 'invalid date' message also returns exit code 1 2023-03-17 21:49:26 +01:00
Sylvestre Ledru
88d95170ad
Merge pull request #4524 from jparag/test_ls_fix
Test Fix: Handling case sensitive ls output
2023-03-17 18:02:35 +01:00
jparag
7ea63d0b59
Merge branch 'main' into test_ls_fix 2023-03-17 10:58:58 -04:00
Terts Diepraam
2a4b48f253
Merge pull request #4442 from bbara/chmod-usage
chmod: fix GNU test 'chmod/usage'
2023-03-17 15:18:39 +01:00
Daniel Hofstetter
0d9d9118ad
Merge pull request #4523 from miles170/test-shred-force
shred: enable `test_shred_force` on FreeBSD
2023-03-17 09:29:08 +01:00
Sylvestre Ledru
3f5fdd5faa
Merge pull request #4522 from kidrigger/wip-date
date: Added default value for `date --i`.
2023-03-17 08:15:16 +01:00
Miles Liu
ab9d1030ff
shred: enable test_shred_force on FreeBSD 2023-03-17 14:37:15 +08:00
Anish Bhobe
624588d37f date: Added default value for date --i.
`default_missing_value` set to `OPT_DATE` (`"date"`)
`num_args(0..=1)` required for `default_missing_value`.

Using function name `test_date_rfc_8601_default`.
The function name `test_date_rfc_8601` is left intact for
compatibility.
 
Fixes: #4521
2023-03-17 03:06:31 +01:00
Benjamin Bara
e982d57819 chmod: fix GNU test 'chmod/usage' 2023-03-16 21:25:26 +01:00
Benjamin Bara
787d854f89 chmod: add GNU usage tests 2023-03-16 21:16:51 +01:00
Sylvestre Ledru
5298ba8250
Merge pull request #4520 from kidrigger/wip-date-test
tests/date: Added tests for date ISO8601 formats.
2023-03-16 20:53:01 +01:00
Surya Teja K
bd6905cf59
fix: match date -I error messages with GNU date (#4499)
* date: use value_parser to improve errors

* date: update panic! to unreachable inside impl From for Iso8601Format
2023-03-16 20:50:37 +01:00
Anish Bhobe
ac23dca426 tests/date: Added tests for date ISO8601 formats.
Regex matching for correctness check.
Tests for format with `minute`, `hour` and `date` added.
2023-03-16 18:14:27 +01:00
Daniel Hofstetter
4e03e6254f
Merge pull request #4518 from miles170/uptime-move-help-strings-to-md-file
uptime: move help strings to markdown file
2023-03-16 16:09:57 +01:00
Daniel Hofstetter
5be450c925
Merge pull request #4519 from miles170/whoami-move-help-strings-to-md-file
whoami: move help strings to markdown file
2023-03-16 16:00:05 +01:00
Miles Liu
6956377405
uptime: remove unused import 2023-03-16 19:44:27 +08:00
Miles Liu
66fef28ec6
uptime: move help strings to markdown file 2023-03-16 19:42:44 +08:00
Miles Liu
f623a7e13a
whoami: move help strings to markdown file 2023-03-16 19:39:36 +08:00
Daniel Hofstetter
f53df8ade5
Merge pull request #4516 from ValentinyFilip/cksum-move-help-from-strings-to-md-file
cksum: move help strings to markdown file
2023-03-16 10:42:18 +01:00
ValentinyFilip
2e36fa4f16 cksum: fix markdown format 2023-03-16 09:49:48 +01:00
Parag Jain
2118e85508 Merge branch 'main' into test_ls_fix 2023-03-15 17:10:54 -04:00
ValentinyFilip
7c6a948526 cksum: fix format error 2023-03-15 21:05:55 +01:00
ValentinyFilip
61ad84f447 cksum: move help strings to markdown file 2023-03-15 19:09:38 +01:00
Sylvestre Ledru
8c885b383a
Merge pull request #4515 from cakebaker/contributing_md
Use https in link & fix quote in CONTRIBUTING.md
2023-03-15 17:15:36 +01:00
Daniel Hofstetter
6c9d007d5b Use https in link & fix quote in CONTRIBUTING.md 2023-03-15 16:56:11 +01:00
Terts Diepraam
dad474bfa0
Merge pull request #4315 from miles170/issue-4176-fix-timeout
timeout: fix subprocess is never terminated
2023-03-15 14:10:58 +01:00
Sylvestre Ledru
0519a83ddd
Merge pull request #4512 from miles170/fix-dd-unused-imports
dd: fix unused imports on FreeBSD
2023-03-15 11:55:32 +01:00
Miles Liu
1435d3573a
dd: fix unused imports on FreeBSD 2023-03-15 18:08:32 +08:00
Daniel Hofstetter
f9dda68f1b
Merge pull request #4511 from tertsdiepraam/readme-update
Updating README.md & CONTRIBUTING.md (and removing DEVELOPER_INSTRUCTIONS.md)
2023-03-15 08:04:06 +01:00
Terts Diepraam
4dd618e67b README and CONTRIBUTING: markdown and spelling fixes 2023-03-14 21:53:22 +01:00
Terts Diepraam
de1f0ef315 Merge DEVELOPER_INSTRUCTIONS into CONTRIBUTING 2023-03-14 18:14:30 +01:00
Terts Diepraam
1d24c94341 CONTRIBUTING: remove instructions for new utils 2023-03-14 18:13:28 +01:00
Terts Diepraam
20fcce1c21 README: remove list of utilities
This was barely being updated and categorized subjectively instead of by a useful measure, so it did more harm than good.
2023-03-14 18:12:13 +01:00
Terts Diepraam
04c7d2f60d README: rewrite description
- Remove "attempt", I think we're good enough to call it more than an attempt
- Make it more specifically about the GNU coreutils.
2023-03-14 18:12:13 +01:00
Terts Diepraam
c83f6eeadd Move testing instructions from README to CONTRIBUTING 2023-03-14 18:12:13 +01:00
Terts Diepraam
08d2492cac README: add logo and center title and logo 2023-03-14 18:12:07 +01:00
Parag Jain
50e019a711 Fixing failing test locally because of missing case sensitivity handling 2023-03-14 12:28:49 -04:00
Sylvestre Ledru
24fb3897c3
Merge pull request #4504 from cakebaker/bump_fts_sys_and_selinux_sys
Bump fts-sys to 0.2.4 & selinux-sys to 0.6.2
2023-03-14 13:39:16 +01:00
Daniel Hofstetter
f41b0213ac
Merge pull request #4505 from uutils/sylvestre-patch-3
Adjust the fuzzers tests in the CI as some have been fixed
2023-03-14 13:34:59 +01:00
Daniel Hofstetter
5967d66a20
Merge pull request #4508 from tertsdiepraam/pwd-minirefactor
`pwd`: small refactor of some match expressions
2023-03-14 07:09:36 +01:00
Terts Diepraam
d241ec7e08 pwd: small refactor of some match expressions 2023-03-13 22:19:29 +01:00
Terts Diepraam
e2363cb5b9
Merge pull request #4463 from uutils/sylvestre-patch-2
References the other implementations
2023-03-13 17:43:23 +01:00
Sylvestre Ledru
a07b833dc6
Merge pull request #4506 from papparapa/mkfifo-move-help-strings-to-md-file
mkfifo: move help strings to markdown file
2023-03-13 17:24:32 +01:00
Koki Ueha
a480ab0694 mkfifo: move help strings to markdown file 2023-03-13 15:04:46 +00:00
Sylvestre Ledru
5ec2e36f58
Adjust the fuzzers tests in the CI as some have been fixed 2023-03-13 11:26:53 +01:00