[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS failure in rm (inaccessible, unread3) for HP-UX 11.00 and 11i
From: |
Albert Chin |
Subject: |
CVS failure in rm (inaccessible, unread3) for HP-UX 11.00 and 11i |
Date: |
Mon, 28 Jun 2004 16:46:29 -0500 |
User-agent: |
Mutt/1.5.6i |
$ cd /opt/build/coreutils-5.3.0/tests/rm
$ VERBOSE=yes gmake check TESTS=inaccessible
gmake check-TESTS
gmake[1]: Entering directory `/opt/build/coreutils-5.3.0/tests/rm'
+ rm --version
rm (GNU coreutils) 5.3.0
Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ PRIV_CHECK_ARG=require-non-root
+ . ./../priv-check
+ who=by an unprivileged user
+ + id -u
my_uid=1000
+ test 0 = 0
+ test 1000 = 0
+ give_msg=no
+ test no = yes
+ + pwd
pwd=/opt/build/coreutils-5.3.0/tests/rm
+ + echo ./inaccessible
+ sed s,.*/,,
t0=inaccessible.tmp
+ tmp=inaccessible.tmp/8641
+ 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/8641
+ cd inaccessible.tmp/8641
+ mkdir abs1 abs2 no-access
+ test 0 = 1
+ fail=0
+ p=/opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641
+ 2> out
+ test -d /opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs1
+ fail=1
+ test -d /opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs2
+ fail=1
+ cat
+ 0< /var/tmp/sh8641.2 1> exp
+ cmp out exp
out exp differ: char 1, line 1
+ fail=1
+ test 1 = 1
+ diff out exp
+ 2> /dev/null
1,4d0
< + cd no-access
< + chmod 0 .
< + rm -r /opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs1 rel
/opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs2
< rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs1': Device busy
6d1
< rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/inaccessible.tmp/8641/abs2': Device busy
+ exit 1
+ exit 1
+ status=1
+ cd /opt/build/coreutils-5.3.0/tests/rm
+ chmod -R u+rwx inaccessible.tmp
+ rm -rf inaccessible.tmp
+ exit 1
FAIL: inaccessible
$ cd /opt/build/coreutils-5.3.0/tests/rm
$ VERBOSE=yes gmake check TESTS=unread3
gmake check-TESTS
gmake[1]: Entering directory `/opt/build/coreutils-5.3.0/tests/rm'
+ rm --version
rm (GNU coreutils) 5.3.0
Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ PRIV_CHECK_ARG=require-non-root
+ . ./../priv-check
+ who=by an unprivileged user
+ + id -u
my_uid=1000
+ test 0 = 0
+ test 1000 = 0
+ give_msg=no
+ test no = yes
+ + pwd
pwd=/opt/build/coreutils-5.3.0/tests/rm
+ + echo ./unread3
+ sed s,.*/,,
t0=unread3.tmp
+ tmp=unread3.tmp/8671
+ 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 unread3.tmp/8671
+ cd unread3.tmp/8671
+ mkdir -p a/1 b c d/2 e/3
+ test 0 = 1
+ fail=0
+ cd c
+ chmod u=x,go= .
+ t=/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671
+ rm -r /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/a
/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/b
rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/a': Device busy
rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/b': Device busy
+ fail=1
+ rm -r /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/d
/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/e
rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/d': Device busy
rm: cannot remove directory
`/opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/e': Device busy
+ fail=1
+ test -d /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/a
+ fail=1
+ test -d /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/b
+ fail=1
+ test -d /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/d
+ fail=1
+ test -d /opt/build/coreutils-5.3.0/tests/rm/unread3.tmp/8671/e
+ fail=1
+ exit 1
+ exit 1
+ status=1
+ cd /opt/build/coreutils-5.3.0/tests/rm
+ chmod -R u+rwx unread3.tmp
+ rm -rf unread3.tmp
+ exit 1
FAIL: unread3
--
albert chin (address@hidden)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS failure in rm (inaccessible, unread3) for HP-UX 11.00 and 11i,
Albert Chin <=