bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX tests failures


From: Jim Meyering
Subject: Re: AIX tests failures
Date: Sun, 28 May 2006 11:34:26 +0200

Ralf Wildenhues <address@hidden> wrote:

> With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
> cp/fail-perm, rm/inaccessible, help-version.
...
> < rm: cannot remove `rel': The file access permissions do not allow the 
> specified action.
> ---
>> rm: cannot remove `rel': Permission denied
> + exit 1
> + exit 1
> + status=1
> + cd /home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/rm
> + chmod -R u+rwx inaccessible.tmp

This one is nearly identical.

        * tests/rm/inaccessible: AIX 4.3.3 gives a different diagnostic.
        Recognize it, too.  Reported by Ralf Wildenhues, in
        http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00192.html

Index: tests/rm/inaccessible
===================================================================
RCS file: /fetish/cu/tests/rm/inaccessible,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -u -r1.2 -r1.3
--- tests/rm/inaccessible       29 Jun 2004 14:38:32 -0000      1.2
+++ tests/rm/inaccessible       28 May 2006 09:32:54 -0000      1.3
@@ -37,6 +37,12 @@ cat <<\EOF > exp || fail=1
 rm: cannot remove `rel': Permission denied
 EOF
 
+# AIX 4.3.3 fails with a different diagnostic.
+# Transform their diagnostic
+#   ...: The file access permissions do not allow the specified action.
+# to the expected one:
+sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out
+
 cmp out exp || fail=1
 test $fail = 1 && diff out exp 2> /dev/null
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]