[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AIX tests failures
From: |
Ralf Wildenhues |
Subject: |
AIX tests failures |
Date: |
Sat, 27 May 2006 18:51:23 +0200 |
User-agent: |
Mutt/1.5.11 |
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
Verbose output is below. The last one looks funny. :-)
Cheers,
Ralf
$ TESTS=fail-perm VERBOSE=yes make -e check
make check-TESTS
+ cp --version
cp (GNU coreutils) 5.96
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ PRIV_CHECK_ARG=require-non-root
+ . ../../../coreutils-5.96/tests/cp/../priv-check
+ who=by an unprivileged user
+ + id -u
my_uid=1064
+ test 0 = 0
+ test 1064 = 0
+ give_msg=no
+ test no = yes
+ + pwd
pwd=/home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/cp
+ + sed s,.*/,,
+ echo ../../../coreutils-5.96/tests/cp/fail-perm
t0=fail-perm.tmp
+ tmp=fail-perm.tmp/13828
+ trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0
+ trap (exit $?); exit 1 2 13 15
+ framework_failure=0
+ mkdir -p fail-perm.tmp/13828
+ cd fail-perm.tmp/13828
+ mkdir D D/D
+ touch D/a
+ chmod 0 D/a
+ chmod 500 D
+ test 0 = 1
+ fail=0
+ cp -pR D DD
+ 1> /dev/null 2>& 1
+ ls -ld DD
+ set X dr-x------ 3 rwild rwild 512 2006-05-27 10:41 DD
+ shift
+ test dr-x------ = dr-x------
+ chmod 0 D
+ ln -s D/D symlink
+ touch F
+ cat
+ 1> exp 0< /tmp/sh13828.3
+ cp F symlink
+ 2> out
+ cmp out exp
out exp differ: char 26, line 1
+ 2> /dev/null
*** out Sat May 27 10:41:52 2006
--- exp Sat May 27 10:41:52 2006
***************
*** 1 ****
! cp: accessing `symlink': The file access permissions do not allow the
specified action.
--- 1 ----
! cp: accessing `symlink': Permission denied
+ fail=1
+ cp --target-directory=symlink F
+ 2> out
+ cmp out exp
out exp differ: char 26, line 1
+ 2> /dev/null
*** out Sat May 27 10:41:52 2006
--- exp Sat May 27 10:41:52 2006
***************
*** 1 ****
! cp: accessing `symlink': The file access permissions do not allow the
specified action.
--- 1 ----
! cp: accessing `symlink': Permission denied
+ fail=1
+ chmod 700 D
+ exit 1
+ exit 1
+ status=1
+ cd /home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/cp
+ chmod -R u+rwx fail-perm.tmp
+ rm -rf fail-perm.tmp
+ exit 1
FAIL: fail-perm
$ env VERBOSE=yes TESTS=inaccessible make -e check
make check-TESTS
+ rm --version
rm (GNU coreutils) 5.96
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
+ PRIV_CHECK_ARG=require-non-root
+ . ../../../coreutils-5.96/tests/rm/../priv-check
+ who=by an unprivileged user
+ + id -u
my_uid=1064
+ test 0 = 0
+ test 1064 = 0
+ give_msg=no
+ test no = yes
+ + pwd
pwd=/home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/rm
+ + echo ../../../coreutils-5.96/tests/rm/inaccessible
+ sed s,.*/,,
t0=inaccessible.tmp
+ tmp=inaccessible.tmp/27316
+ trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0
+ trap (exit $?); exit $? 1 2 13 15
+ framework_failure=0
+ mkdir -p inaccessible.tmp/27316
+ cd inaccessible.tmp/27316
+ mkdir abs1 abs2 no-access
+ test 0 = 1
+ fail=0
+
p=/home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/rm/inaccessible.tmp/27316
+ test -d
/home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/rm/inaccessible.tmp/27316/abs1
+ test -d
/home/rwild/coreutils/build-powerpc-ibm-aix4.3.3.0/tests/rm/inaccessible.tmp/27316/abs2
+ cat
+ 0< /tmp/sh27316.3 1> exp
+ cmp out exp
out exp differ: char 26, line 1
+ fail=1
+ test 1 = 1
+ diff out exp
+ 2> /dev/null
1c1
< 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
+ rm -rf inaccessible.tmp
+ exit 1
FAIL: inaccessible
$ env VERBOSE=yes TESTS=help-version make check-TESTS
[...]
+ 0< in-2578 1> out-2578
../../src/dircolors: <internal>:54: unrecognized keyword OTHER_WRITABLERITABLE
+ echo FAIL: dircolors
FAIL: dircolors
+ fail=1
[...]
- AIX tests failures,
Ralf Wildenhues <=
Re: AIX tests failures, Jim Meyering, 2006/05/28
Re: AIX tests failures, Jim Meyering, 2006/05/28