diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-08 08:01:00 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-08 08:01:00 +0200 |
commit | eab0cebc764c52c90fbbd4477a335a1ac42ff329 (patch) | |
tree | 1643e95338d21511b9cafd27f42be686e5594e3d /tests/mkdir | |
parent | 8b3ec1901927d6867e71bb49b953171c79a4e461 (diff) | |
download | coreutils-eab0cebc764c52c90fbbd4477a335a1ac42ff329.tar.xz |
tests: accommodate a different errno value on HPUX-10.20
* tests/mkdir/selinux: Also handle "Unknown system error".
Reported by Peter Fales.
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-x | tests/mkdir/selinux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux index f8aeace26..1fa44aee8 100755 --- a/tests/mkdir/selinux +++ b/tests/mkdir/selinux @@ -37,9 +37,11 @@ for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do set $cmd_w_arg; cmd=$1 echo "$cmd: $msg" > exp || fail=1 - # Some systems fail with ENOTSUP, or EINVAL, or even ENOENT. + # Some systems fail with ENOTSUP, EINVAL, ENOENT, or even + # "Unknown system error". sed \ -e 's/ Invalid argument$//' \ + -e 's/ Unknown system error$//' \ -e 's/ Operation not supported$//' \ -e 's/ No such file or directory$//' out > k || fail=1 mv k out || fail=1 |