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:
27311c9
)
tests: accommodate difference in an AIX 5.3 diagnostic
author
Peter O'Gorman
<bug-coreutils@mlists.thewrittenword.com>
Thu, 26 Jun 2008 18:57:11 +0000
(20:57 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Thu, 26 Jun 2008 19:08:22 +0000
(21:08 +0200)
* tests/mkdir/selinux: Handle different strerror (ENOTSUP) spelling.
tests/mkdir/selinux
patch
|
blob
|
history
diff --git
a/tests/mkdir/selinux
b/tests/mkdir/selinux
index
291d62d
..
4a01a43
100755
(executable)
--- a/
tests/mkdir/selinux
+++ b/
tests/mkdir/selinux
@@
-43,12
+43,14
@@
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".
+ # For AIX 5.3: "Unsupported attribute value"
sed \
-e 's/ Not supported$//' \
-e 's/ Invalid argument$//' \
-e 's/ Unknown system error$//' \
-e 's/ Operation not supported$//' \
-e 's/ Function not implemented$//' \
+ -e 's/ Unsupported attribute value$//' \
-e 's/ No such file or directory$//' out > k || fail=1
mv k out || fail=1
compare out exp || fail=1