projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef40e9
)
tests: Accommodate a different errno value on OSF/1 4.0F.
author
Jim Meyering
<meyering@redhat.com>
Sat, 12 Apr 2008 11:14:29 +0000
(13:14 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 12 Apr 2008 11:14:29 +0000
(13:14 +0200)
* tests/mkdir/selinux: Also handle "Function not implemented".
tests/mkdir/selinux
patch
|
blob
|
history
diff --git
a/tests/mkdir/selinux
b/tests/mkdir/selinux
index
1fa44ae
..
e84b776
100755
(executable)
--- 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