Sylvestre Ledru
19cd210ac3
cp: context Disable a check in tests/cp/no-ctx.sh
...
It is not relevant for us:
* the selinux crate is handling errors
* the test says "maybe we should not fail when no context available"
2025-05-15 09:06:37 +02:00
Daniel Hofstetter
7c865b29a1
Merge pull request #7898 from sylvestre/selinux-err
...
selinux: get closer to the GNU error msgs
2025-05-09 13:35:29 +02:00
Sylvestre Ledru
b778fa7baf
gnu: fix the build with selinux
2025-05-07 23:02:45 +02:00
Sylvestre Ledru
fde3733bf5
selinux: improve the error display
2025-05-07 22:58:52 +02:00
Sylvestre Ledru
832dd495bf
selinux: adjust more error messages
2025-05-07 22:58:46 +02:00
Nicolas Boichat
b3c3529d24
util/build-gnu.sh: Accept hex float as sleep parameter
...
Not that crazy anymore, fixed by #7675 .
2025-04-15 10:36:50 +02:00
Sylvestre Ledru
4724f04547
upgrade to GNU coreutils 9.7 as ref
2025-04-13 12:12:08 +02:00
Sylvestre Ledru
72ad89d956
selinux: run the GNU test too
2025-03-17 11:09:18 +01:00
Zachary Goff-Hodges
43036e2c7b
util: update 'build-gnu.sh' to use CARGO_TARGET_DIR
2025-03-05 12:02:11 +01:00
Jeffrey Finkelstein
1606968bf2
rm: recursive implementation of -r option
...
Change the implementation of `rm -r` so that it is explicitly recursive
so that (1) there is one code path regardless of whether `--verbose` is
given and (2) it is easier to be compatible with GNU `rm`.
This change eliminates a dependency on the `walkdir` crate.
Fixes #7033 , fixes #7305 , fixes #7307 .
2025-02-17 11:18:24 -05:00
Daniel Hofstetter
3de1ccadba
ci: add words to spell-checker:ignore
2025-02-14 09:14:10 +01:00
Dorian Péron
1e686ec25c
patch build-gnu.sh for NixOS
2025-02-05 00:27:20 +01:00
Jeffrey Finkelstein
2cb2f30846
Remove some replacements of touch in build script
...
Remove some replacements of uutils `touch` for GNU `touch` in the
`util/build-gnu.sh` script, since recent improvements to the
`parse_datetime` have made these replacements unnecessary.
2025-01-30 17:37:04 -05:00
Sylvestre Ledru
79a94d9309
build-gnu.sh: remove old comments
2025-01-24 10:01:16 +01:00
Sylvestre Ledru
1f3abd5233
build-gnu.sh: also ignore t37 from factor
...
Closes : #7179
2025-01-24 10:01:16 +01:00
Sylvestre Ledru
60d3394676
build-gnu.sh: improve the support if the stack has been already applied
2025-01-24 10:01:16 +01:00
Sylvestre Ledru
0b63fe5f43
gnu patches: move to use quilt
2025-01-22 11:25:58 +01:00
Jeffrey Finkelstein
0e8c0ed6f0
build: remove timeout from seq test cases
2025-01-19 16:40:03 -05:00
Jeffrey Finkelstein
99ad4aa954
build: restore uutils in GNU test files
...
Update the `util/build-gnu.sh` script to restore the use of uutils
programs that had been temporarily replaced with GNU programs in test
files where the program to replace was not a primary concern. For
example, before this commit we were forcing the use of GNU `stat`
instead of uutils `stat` in the test file
`tests/touch/60-seconds.sh`. After this commit, we use the uutils
`stat` since it is working well enough for this test case.
2025-01-19 15:31:48 -05:00
Jeffrey Finkelstein
249871a64b
Re-enable integer overflow test case for printf
2025-01-19 13:12:13 -05:00
Sylvestre Ledru
16b0122a79
Update GNU reference to 9.6
2025-01-18 10:17:15 +01:00
Daniel Hofstetter
09ee3dc8ac
GNU build: add word to spell-checker:ignore
2025-01-15 09:43:37 +01:00
Sylvestre Ledru
7f0d77954d
GNU build: perf the change only once
2025-01-14 23:41:07 +01:00
Sylvestre Ledru
d445edfd19
GNU build: disable an old check
2025-01-14 23:41:07 +01:00
Jeffrey Finkelstein
0eb6f9bddb
seq: re-enable GNU test file precision.sh
2025-01-07 21:34:56 -05:00
Daniel Hofstetter
190cc66406
build-gnu.sh: adapt GNU numfmt error message
2025-01-07 10:38:32 +01:00
Sylvestre Ledru
254f762e86
GNU: try to remove the fail-2eperm.sh workaround
...
Now fails with:
2024-12-28T14:55:18.9355074Z -rm: cannot remove 'a': Operation not permitted
2024-12-28T14:55:18.9355364Z +rm: cannot remove 'a/b': Operation not permitted
2024-12-28 21:53:12 +01:00
Daniel Hofstetter
dd741eac19
build-gnu.sh: adapt basenc message to clap changes
2024-12-17 14:59:40 +01:00
Daniel Hofstetter
def66f335c
build-gnu.sh: adapt "du" error message
2024-12-15 16:34:20 +01:00
Sylvestre Ledru
c60203ddd3
stat: improve GNU compatibility ( #6933 )
...
* stat: fix the quotes when dealing with %N
and other formats
should fix
tests/stat/stat-fmt.sh
* stats: use an enum instead of a string
* stats: split the functions into smaller functions
* stat: handle byte as a format for better display
* stat: handle error better. should make tests/stat/stat-printf.pl pass
* stat: Some escape sequences are non-standard
* Fix tests
* Take comments into account
2024-12-10 08:48:52 +01:00
mhead
68e724f9a4
patch build-gnu.sh for quote-align
2024-10-15 11:11:23 +02:00
Sylvestre Ledru
01db148aeb
run misc/invalid-opt.pl in the CI ( Closes : #6660 )
2024-08-21 19:47:42 +02:00
Sylvestre Ledru
13c90ed44a
mv: adjust the error message to make 'tests/mv/mv-exchange.sh' pass
2024-08-12 17:51:19 +02:00
sreehari prasad
dbeae9f444
ls: gnu color-clear-to-eol
fix ( #6507 )
...
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-29 10:06:00 +02:00
sreehari prasad
92665144c9
ls: gnu color-norm
test fix ( #6481 )
2024-06-24 21:38:10 +02:00
Sylvestre Ledru
4090d468c0
Merge pull request #6162 from BenWiederhake/dev-undo-custom-exit-codes
...
all: Undo custom exit codes
2024-04-25 08:11:41 +02:00
Ulrich Hornung
d202baba97
use num_prime for factorisation to fix gnu test
2024-04-21 11:24:25 +02:00
Sylvestre Ledru
6ef08d7f1c
hashsum: improve the error management to match GNU
...
Should make tests/cksum/md5sum.pl and tests/cksum/sha1sum.pl pass
2024-04-21 09:08:27 +02:00
Sylvestre Ledru
128c0bc6b5
hashsum: gnu compat no need to replicate this output with hashsum
2024-04-21 09:08:27 +02:00
Ben Wiederhake
120f0312e7
util: undo custom GNU exit codes, reduce number of special cases
2024-04-14 15:42:13 +02:00
Sylvestre Ledru
d535095d0f
build-gnu.sh: adjust of some of the path
2024-03-28 21:10:09 +01:00
Sylvestre Ledru
3222c9225c
upgrade to GNU coreutils 9.5 as ref
2024-03-28 20:43:49 +01:00
Ulrich Hornung
c62ba559d0
env: support string args by "-S", "-vS" or "--split-strings"
2024-03-19 00:45:05 +01:00
Daniel Hofstetter
727101ccf3
Merge pull request #6087 from sylvestre/pr2
...
pr: relax some error messages
2024-03-18 10:30:41 +01:00
Daniel Hofstetter
b9ef78ad13
build-gnu.sh: add xstrtol to spell-checker:ignore
2024-03-16 16:54:03 +01:00
Sylvestre Ledru
f0520b71c1
pr: relax some error messages
...
Should make tests/pr/pr-tests.pl pass
2024-03-16 12:28:09 +01:00
Sylvestre Ledru
2a1ac55081
du: adjust one of the GNU error message as ours is better
2024-03-16 10:06:24 +01:00
Sylvestre Ledru
1725479c06
hashsum: also escape/unescape files with checks ( #5868 )
...
* hashsum: make tag conflicts with --text and --check
* hashsum: change the case in one of the gnu test
* build-gnu.sh: use symlink instead of copy
Plus: it won't cp new md5
* hashsum: also escape/unescape files with checks
Should fix tests/cksum/md5sum-bsd.sh
* improve the variable name
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* Improve test
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* Improve test
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-03-12 14:56:27 +01:00
Sylvestre Ledru
724305e64f
Remove the tests/cp/link-heap.sh workaround
...
No longer needed since github.com/uutils/coreutils/pull/5789 landed
2024-01-06 23:33:32 +01:00
Sylvestre Ledru
aabf5fa577
cp: manages target with trailing '/'
2024-01-05 12:56:27 +01:00