From: Peter O'Gorman Date: Thu, 26 Jun 2008 18:57:11 +0000 (+0200) Subject: tests: accommodate difference in an AIX 5.3 diagnostic X-Git-Tag: v7.0~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58b2e1204a000fdcbdac42e427c5556dddf40aea;p=thirdparty%2Fcoreutils.git tests: accommodate difference in an AIX 5.3 diagnostic * tests/mkdir/selinux: Handle different strerror (ENOTSUP) spelling. --- diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux index 291d62da17..4a01a43300 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