Matthew Woehlke wrote: ... > ==== ia64/HP-UX 11.23 ==== > 2 of 367 tests failed > (59 tests were not run) > > FAIL: df/total-verify > (same as x86/Linux) > > FAIL: mkdir/selinux > + compare out exp > > --- out 2009-03-18 17:22:31.000000000 -0700 > +++ exp 2009-03-18 17:22:31.000000000 -0700 > @@ -1 +1 @@ > -mkdir: failed to set default file creation context to > invalid-selinux-context': Unknown error (252) > > +mkdir: failed to set default file creation context to > invalid-selinux-context':
This should fix it: >From 79b736bc2e6cacc25670e1f372cc27d480fbe933 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Thu, 19 Mar 2009 19:04:19 +0100 Subject: [PATCH] tests: avoid spurious mkdir/selinux on HP-UX 11.23 * tests/mkdir/selinux: Accept yet another diagnostic. Reported by Matthew Woehlke. Reported by Matthew Woehlke. --- tests/mkdir/selinux | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux index a81689a..5b5bbcc 100755 --- a/tests/mkdir/selinux +++ b/tests/mkdir/selinux @@ -1,7 +1,7 @@ #!/bin/sh # ensure that an invalid context doesn't cause a segfault -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,6 +44,7 @@ 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" + # For HP-UX 11.23 "Unknown error (252)" sed \ -e 's/ Not supported$//' \ -e 's/ Invalid argument$//' \ @@ -51,6 +52,7 @@ for cmd_w_arg in 'mkdir dir' 'mknod b p' 'mkfifo f'; do -e 's/ Operation not supported$//' \ -e 's/ Function not implemented$//' \ -e 's/ Unsupported attribute value$//' \ + -e 's/ Unknown error .*$//' \ -e 's/ No such file or directory$//' out > k || fail=1 mv k out || fail=1 compare out exp || fail=1 -- 1.6.2.rc1.285.gc5f54 _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
