[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
4.5.9 test failure: fail-2eperm
From: |
Paul Jarc |
Subject: |
4.5.9 test failure: fail-2eperm |
Date: |
Wed, 05 Mar 2003 15:07:12 -0500 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i686-pc-linux-gnu) |
On my system, the "nobody" user does not have a usable shell.
make check-TESTS
make[3]: Entering directory
`/fs/data/mount/home/prj/src/spf/coreutils-4.5.9/tests/rm'
out exp differ: char 1, line 1
1c1
< su: /nil/nobody/shell: No such file or directory
---
> rm: cannot remove `a/b': Operation not permitted
FAIL: fail-2eperm
I think the right way to do this sort of thing is to let the user
specify a username or UID to use for non-root tests. Then you can
pass the UID directly to setuid() rather than using su, so you don't
have to worry about the shell. This would also make it possible to
run all the tests in a single "make check" run, rather than getting
messages like:
***************************
NOTICE:
./cycle: This test is being skipped, since it works only
when run by an unprivileged user.
***************************
paul
- 4.5.9 test failure: fail-2eperm,
Paul Jarc <=