-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6861 from sylvestre/dup-source
mv: fix the output of an error message
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |