mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* tests/mv/dir2dir: Also accept EBUSY.
Reported by Matthew Woehlke.
This commit is contained in:
1 parent
97136cb93f
commit
db7092bed3
2 files changed
+8
-2
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2006-11-28 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* tests/mv/dir2dir: Also accept EBUSY.
|
||||
Reported by Matthew Woehlke.
|
||||
|
||||
2006-11-27 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* Makefile.maint (patch-check): Rewrite to diagnose failure.
|
||||
|
||||
+3
-2
@@ -52,8 +52,9 @@ fail=0
|
||||
# diagnostic about moving one directory to a subdirectory of itself.
|
||||
mv b/t a 2> out && fail=1
|
||||
|
||||
# Accept either EEXIST or ENOTEMPTY.
|
||||
sed 's/: File exists/: Directory not empty/'<out>o1;mv o1 out
|
||||
# Accept any of these: EEXIST, ENOTEMPTY, EBUSY.
|
||||
sed 's/: File exists/: Directory not empty/'<out>o1;mv o1 out
|
||||
sed 's/: Device or resource busy/: Directory not empty/'<out>o1;mv o1 out
|
||||
|
||||
cat <<\EOF > exp || fail=1
|
||||
mv: cannot move `b/t' to `a/t': Directory not empty
|
||||
|
||||
Reference in new issue
Block a user