mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
mv: fix the output of an error message
+ adjust a GNU test Should make tests/mv/dup-source.sh pass
This commit is contained in:
parent
fb1874bff9
commit
7ffe3d49ef
3 changed files with 34 additions and 1 deletions
13
util/gnu-patches/tests_dup_source.patch
Normal file
13
util/gnu-patches/tests_dup_source.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/tests/mv/dup-source.sh b/tests/mv/dup-source.sh
|
||||
index 7bcd82fc3..0f9005296 100755
|
||||
--- a/tests/mv/dup-source.sh
|
||||
+++ b/tests/mv/dup-source.sh
|
||||
@@ -83,7 +83,7 @@ $i: cannot stat 'a': No such file or directory
|
||||
$i: cannot stat 'a': No such file or directory
|
||||
$i: cannot stat 'b': No such file or directory
|
||||
$i: cannot move './b' to a subdirectory of itself, 'b/b'
|
||||
-$i: warning: source directory 'b' specified more than once
|
||||
+$i: cannot move 'b' to a subdirectory of itself, 'b/b'
|
||||
EOF
|
||||
compare exp out || fail=1
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue