From db7092bed3d172f7033dab05b62ad131046f1bf3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Nov 2006 09:21:00 +0100 Subject: * tests/mv/dir2dir: Also accept EBUSY. Reported by Matthew Woehlke. --- tests/mv/dir2dir | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/mv/dir2dir') diff --git a/tests/mv/dir2dir b/tests/mv/dir2dir index 8518a6220..11ae26ed1 100755 --- a/tests/mv/dir2dir +++ b/tests/mv/dir2dir @@ -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/'o1;mv o1 out +# Accept any of these: EEXIST, ENOTEMPTY, EBUSY. +sed 's/: File exists/: Directory not empty/'o1;mv o1 out +sed 's/: Device or resource busy/: Directory not empty/'o1;mv o1 out cat <<\EOF > exp || fail=1 mv: cannot move `b/t' to `a/t': Directory not empty -- cgit v1.2.3-54-g00ecf