summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-12 13:14:29 +0200
committerJim Meyering <meyering@redhat.com>2008-04-12 13:14:29 +0200
commit512c906ca6c3405adfaa91bc29cfaf4798b5c88c (patch)
tree1940475f3ef5665d8e1d5418696110b3aefdf1cd
parent2ef40e965433228b2befbcbaefc1ae917779fd94 (diff)
downloadcoreutils-512c906ca6c3405adfaa91bc29cfaf4798b5c88c.tar.xz
tests: Accommodate a different errno value on OSF/1 4.0F.
* tests/mkdir/selinux: Also handle "Function not implemented".
-rwxr-xr-xtests/mkdir/selinux3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux
index 1fa44aee8..e84b77663 100755
--- a/tests/mkdir/selinux
+++ b/tests/mkdir/selinux
@@ -38,11 +38,12 @@ for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do
echo "$cmd: $msg" > exp || fail=1
# Some systems fail with ENOTSUP, EINVAL, ENOENT, or even
- # "Unknown system error".
+ # "Unknown system error", or "Function not implemented".
sed \
-e 's/ Invalid argument$//' \
-e 's/ Unknown system error$//' \
-e 's/ Operation not supported$//' \
+ -e 's/ Function not implemented$//' \
-e 's/ No such file or directory$//' out > k || fail=1
mv k out || fail=1
compare out exp || fail=1