bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-5.2.1 chmod -R o=r d >/dev/null 2>out && fail=1


From: Paul Eggert
Subject: Re: coreutils-5.2.1 chmod -R o=r d >/dev/null 2>out && fail=1
Date: Fri, 27 May 2005 23:32:11 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

"Andras S. Haramasz" <address@hidden> writes:

> It appears to me that this version (5.3.0) gives me the same error too.

It's failing in the chmod/no-x test, so let's try to figure out why.
Can you please try the following commands?

cd tests/chmod
VERBOSE=yes make check TESTS=no-x

For comparison, here's the output of that command here:

make  check-TESTS
make[1]: Entering directory 
`/home/eggert/src/coreutils/obj-Linux-2.4.18-1-686.eggert-unknown/tests/chmod'
+ chmod --version
chmod (coreutils) 5.2.1
Written by David MacKenzie 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.
+ . ../../../coreutils-5.2.1/tests/chmod/../lang-default
++ eval 'LANG=; export LANG'
+++ LANG=
+++ export LANG
++ eval 'LANGUAGE=; export LANGUAGE'
+++ LANGUAGE=
+++ export LANGUAGE
++ eval 'LC_ALL=; export LC_ALL'
+++ LC_ALL=
+++ export LC_ALL
++ eval 'LC_COLLATE=; export LC_COLLATE'
+++ LC_COLLATE=
+++ export LC_COLLATE
++ eval 'LC_CTYPE=; export LC_CTYPE'
+++ LC_CTYPE=
+++ export LC_CTYPE
++ eval 'LC_MESSAGES=; export LC_MESSAGES'
+++ LC_MESSAGES=
+++ export LC_MESSAGES
++ eval 'LC_NUMERIC=; export LC_NUMERIC'
+++ LC_NUMERIC=
+++ export LC_NUMERIC
++ eval 'LC_TIME=; export LC_TIME'
+++ LC_TIME=
+++ export LC_TIME
+ PRIV_CHECK_ARG=require-non-root
+ . ../../../coreutils-5.2.1/tests/chmod/../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=/home/eggert/src/coreutils/obj-Linux-2.4.18-1-686.eggert-unknown/tests/chmod
++ sed 's,.*/,,'
++ echo ../../../coreutils-5.2.1/tests/chmod/no-x
+ t0=no-x.tmp
+ tmp=no-x.tmp/12280
+ 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 no-x.tmp/12280
+ cd no-x.tmp/12280
+ mkdir -p d/no-x/y
+ chmod u=rw d/no-x
+ test 0 = 1
+ fail=0
+ chmod -R o=r d
+ cat
+ cmp out exp
+ test 0 = 1
+ exit 0
+ exit 0
+ status=0
+ cd 
/home/eggert/src/coreutils/obj-Linux-2.4.18-1-686.eggert-unknown/tests/chmod
+ chmod -R u+rwx no-x.tmp
+ rm -rf no-x.tmp
+ exit 0
PASS: no-x
==================
All 1 tests passed
==================
make[1]: Leaving directory 
`/home/eggert/src/coreutils/obj-Linux-2.4.18-1-686.eggert-unknown/tests/chmod'




reply via email to

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