summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-14 22:17:23 +0200
committerJim Meyering <meyering@redhat.com>2008-04-14 22:17:23 +0200
commit08f2a71ee34cc261fb39d1047069e01cb48fb0d7 (patch)
treea94998e0a95aae781c431b2c10c5e20f509f86bf
parent4827dd27b0c655a685947aaa01426a5ecba179f3 (diff)
downloadcoreutils-08f2a71ee34cc261fb39d1047069e01cb48fb0d7.tar.xz
tests: accommodate a different errno string on Irix 6.5
* tests/mkdir/selinux: Also handle "Not supported". Reported by Peter Fales.
-rwxr-xr-xtests/mkdir/selinux1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux
index e84b77663..fcd45a835 100755
--- a/tests/mkdir/selinux
+++ b/tests/mkdir/selinux
@@ -40,6 +40,7 @@ for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do
# Some systems fail with ENOTSUP, EINVAL, ENOENT, or even
# "Unknown system error", or "Function not implemented".
sed \
+ -e 's/ Not supported$//' \
-e 's/ Invalid argument$//' \
-e 's/ Unknown system error$//' \
-e 's/ Operation not supported$//' \