[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 
out exp differ: char 1, line 1
< 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:
./cycle: This test is being skipped, since it works only
when run by an unprivileged user.


reply via email to

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