tests: accommodate a different errno string on Irix 6.5
authorJim Meyering <meyering@redhat.com>
Mon, 14 Apr 2008 20:17:23 +0000 (22:17 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 14 Apr 2008 20:17:23 +0000 (22:17 +0200)
* tests/mkdir/selinux: Also handle "Not supported".
Reported by Peter Fales.

tests/mkdir/selinux

index e84b776..fcd45a8 100755 (executable)
@@ -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$//' \