[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #18414] testsuite failures when run as root
From: |
Eric Blake |
Subject: |
[bug #18414] testsuite failures when run as root |
Date: |
Wed, 29 Nov 2006 21:35:47 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) |
URL:
<http://savannah.gnu.org/bugs/?18414>
Summary: testsuite failures when run as root
Project: findutils
Submitted by: ericb
Submitted on: Wednesday 11/29/2006 at 14:35
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: Eric Blake
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.2
Fixed Release: None
_______________________________________________________
Details:
The testsuite has a bug when run as root or other user with extra
privileges:
Running /home/eblake/findutils/find/testsuite/find.gnu/access.exp ...
FAIL: access.old-O0, --- find.out 2006-11-29 14:26:00.034470600 -0700
+++ cmp.out 2006-11-29 14:26:00.081345600 -0700
@@ -1,10 +1,7 @@
r tmp
-r tmp/0
r tmp/r
r tmp/rw
r tmp/rwx
-r tmp/w
-r tmp/x
w tmp
w tmp/rw
w tmp/rwx
child process exited abnormally
...
I got the above failure by running the testsuite under cygwin under an
Administrator account, where access() correctly reports that all files are
readable regardless of the stat mode because of my extra privileges as an
Administrator.
The test should first check whether the user can read and/or write a file
that has been chmod'd to 000, and skip the test, rather than declaring a
failure, since access() is not necessarily based on stat() information.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18414>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #18414] testsuite failures when run as root,
Eric Blake <=