aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/mv/mv-exchange.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/mv/mv-exchange.sh b/tests/mv/mv-exchange.sh
index 35e3392cb..98b9afa77 100755
--- a/tests/mv/mv-exchange.sh
+++ b/tests/mv/mv-exchange.sh
@@ -23,7 +23,10 @@ print_ver_ mv
# Test exchanging files.
touch a || framework_failure_
mkdir b || framework_failure_
-if ! mv -T --exchange a b 2>exchange_err; then
+if ! mv -T --exchange a b 2>errt; then
+ # AIX gives "Unsupported attribute value" (errno 124)
+ # NetBSD and OpenBSD give "Not supported"
+ sed 's/Not /not /; s/[Uu]nsupported/not supported/' < errt > exchange_err
grep 'not supported' exchange_err || { cat exchange_err; fail=1; }
else
test -d a || fail=1