Daniel Hofstetter
690fff2fc9
cksum: implement --untagged
2023-05-14 16:43:14 +02:00
John Shin
a817186e10
cp: preserve permissions on -r -p --parents
2023-05-12 11:34:51 -07:00
Sylvestre Ledru
64c49de0cc
Merge pull request #4432 from jfinkels/dd-nocache
...
dd: support the [io]flag=nocache option
2023-05-12 09:53:57 +02:00
Daniel Hofstetter
98fa941250
Merge pull request #4759 from sylvestre/clippy4
...
fix some clippy warnings in tests
2023-05-12 07:15:44 +02:00
Sylvestre Ledru
d98293bdaa
bring back the empty line
2023-05-11 18:20:28 +02:00
Sylvestre Ledru
536d12d20d
simplify code
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-05-11 18:19:49 +02:00
Sylvestre Ledru
22a7f98a47
Merge pull request #4856 from cakebaker/cksum_fix_algorithm_output
...
cksum: fix output of --algorithm
2023-05-11 18:18:24 +02:00
John Shin
7a31d841ba
cp: preserve permission on -p --parents ( #4853 )
2023-05-11 16:44:23 +02:00
Daniel Hofstetter
0781ad0a65
cksum: fix output of --algorithm
...
for the algorithms md5, sha[1,224,256,384,512], blake2b, and sm3 from
<digest> <filesize> <filename>
to
<algo name> (<filename>) = <digest>
to use the same format as GNU cksum
2023-05-11 14:24:43 +02:00
SteveLauC
452be5a220
ls: device number for BSDs and solarishOS ( #4841 )
2023-05-11 12:58:36 +02:00
leone
d8f1f1c16c
date: bugfix test_date_for_no_permission_file ( #4544 )
2023-05-10 18:40:58 +02:00
Daniel Hofstetter
ba6eb392aa
cksum: split test function into two
2023-05-10 09:48:32 +02:00
Daniel Hofstetter
d769871374
Merge pull request #4831 from sylvestre/mv-hardlink
...
mv: 'mv source hardlink' should fail
2023-05-08 16:12:23 +02:00
Sylvestre Ledru
48b8cfa595
mv: adjust the tests - duplicate code + android
...
According to:
https://stackoverflow.com/questions/44913985/creating-hardlinks-and-symlinks-in-android
hardlink aren't expected to work on android + fat
2023-05-08 15:24:47 +02:00
Sylvestre Ledru
594f81a88a
mv --backup=simple a b on hard links should not fail
...
touch a
ln a b
./target/debug/coreutils mv --backup=simple a b
GNU: tests/mv/hard-4.sh
2023-05-08 13:08:20 +02:00
Daniel Hofstetter
560ac3d6fb
dd: fix "unused imports" warning in tests
2023-05-08 07:59:56 +02:00
Sylvestre Ledru
a5a39b6ba8
mv: 'mv source hardlink' should fail
...
fixes: tests/mv/force.sh
2023-05-07 23:08:41 +02:00
Jeffrey Finkelstein
4ff318aee1
fixup! dd: support the [io]flag=nocache option
2023-05-07 16:33:21 -04:00
Jeffrey Finkelstein
bd18a2a344
dd: support the [io]flag=nocache option
...
Add support for the `iflag=nocache` and `oflag=nocache` to make `dd`
discard the filesystem cache for the processed portion of the input or
output file.
2023-05-07 11:43:13 -04:00
Sylvestre Ledru
b94d10f080
Fix some semicolon_if_nothing_returned
2023-05-06 19:35:44 +02:00
Daniel Hofstetter
93c8623da9
mv: if more than one of -i, -n, -f, latest "wins"
2023-05-05 15:17:37 +02:00
Daniel Hofstetter
4ee1118061
Merge pull request #4823 from shinhs0506/mv-i-dir-file
...
fix tests/mv/i-5.sh
2023-05-04 13:43:05 +02:00
John Shin
84567336a8
mv: update test case so it doesn't fail
2023-05-03 23:54:28 -07:00
Daniel Hofstetter
616a166e36
Merge pull request #4820 from sylvestre/thru-dangling-2
...
cp: fix cp -f f loop when loop is a symlink loop
2023-05-04 08:20:57 +02:00
John Shin
1c8aac0883
mv: return err if response is negative when moving a dir to existing dest during an interactive mode
2023-05-03 16:05:21 -07:00
Sylvestre Ledru
832fd2d2c6
cp: fix cp -f f loop when loop is a symlink loop
...
Fix: tests/cp/thru-dangling.sh
2023-05-03 19:54:35 +02:00
Daniel Hofstetter
a97199f72a
Merge pull request #4796 from shinhs0506/mv-cp-update
...
mv, cp: add support for --update=none,all,older
2023-05-03 15:21:21 +02:00
Daniel Hofstetter
923a62c6be
mv: fix function/file names in tests
2023-05-03 10:07:46 +02:00
Daniel Hofstetter
82eb04c5a9
Merge pull request #4777 from Joining7943/tail-change-text-static-to-const
...
'tail': Change static global variables to const
2023-05-03 09:31:34 +02:00
Sylvestre Ledru
aae3f2f99c
Ride along: fix some trivial clippy warnings
2023-05-02 23:22:39 +02:00
John Shin
8ad2fa3cc1
mv: write test for multiple update args
2023-05-02 13:46:43 -07:00
John Shin
918c36b485
cp: write test for multiple update args
2023-05-02 13:46:08 -07:00
John Shin
983fee0cea
cp: fix wrong test names for update
2023-05-02 13:35:52 -07:00
John Shin
c0e4e4f757
cp: simplify tests for update
2023-05-02 13:35:06 -07:00
John Shin
6a100976c7
mv: simplify tests for update
2023-05-02 13:30:38 -07:00
Sylvestre Ledru
e166d90db8
Merge pull request #4813 from cakebaker/bump_fundu_to_0_5_1_and_fix_tests
...
Bump fundu to 0.5.1 and fix tests
2023-05-02 12:09:48 +02:00
Daniel Hofstetter
3f8e21c36c
Merge pull request #4812 from sylvestre/thru-dangling
...
cp: add support POSIXLY_CORRECT=1 when dealing with dangling links
2023-05-02 10:00:18 +02:00
Daniel Hofstetter
ad37db8da3
sleep: fix broken tests due to fundu update
2023-05-01 14:25:59 +02:00
John Shin
66a9169e55
cp: fix typos
2023-05-01 03:54:56 -07:00
Sylvestre Ledru
2d4dfc3d7d
cp: add support POSIXLY_CORRECT=1 when dealing with dangling links
...
GNU: tests/cp/thru-dangling.sh
2023-05-01 11:05:00 +02:00
John Shin
85ded232bc
mv: resolve merge conflict
2023-04-30 20:09:32 -07:00
John Shin
78412c5a61
mv: add tests for --update
2023-04-30 19:29:49 -07:00
John Shin
ed3ff10540
cp: write tests for --update
2023-04-30 19:29:49 -07:00
Sylvestre Ledru
75e33695e5
Disable test_gnu_options on android
2023-04-30 20:08:06 +02:00
Sylvestre Ledru
9dff7d86cb
Disable test_factor::test_parallel on android
2023-04-29 21:29:47 +02:00
Sylvestre Ledru
53ae5c33c9
Disable test_sort::test_compress_fail (for real) & test_cp::test_cp_arg_interactive_update on android
2023-04-29 20:39:18 +02:00
Sylvestre Ledru
ac068e0487
Disable test_sort::test_compress_fail & test_chmod::test_mode_after_dash_dash on android
2023-04-29 19:23:56 +02:00
Sylvestre Ledru
4e712140fe
Do not run test_closes_file_descriptors on android
...
Closes : #4736
2023-04-29 18:48:15 +02:00
Sylvestre Ledru
c5fb6eac9f
Merge pull request #4794 from shinhs0506/mv-target-dir
...
mv: check if --target is a directory
2023-04-29 10:40:44 +02:00
Daniel Hofstetter
736a00a85f
paste: ignore failing test on Windows
2023-04-28 15:08:01 +02:00