From 58b2e1204a000fdcbdac42e427c5556dddf40aea Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Thu, 26 Jun 2008 20:57:11 +0200 Subject: tests: accommodate difference in an AIX 5.3 diagnostic * tests/mkdir/selinux: Handle different strerror (ENOTSUP) spelling. --- tests/mkdir/selinux | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux index 291d62da1..4a01a4330 100755 --- 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 -- cgit v1.2.3-70-g09d2