|
4.5.9 test failure: fail-2eperm: msg#00027gnu.core-utils.bugs
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: bug while using du with > 80 gb directory tree...: 00027, Jim Meyering |
|---|---|
| Next by Date: | can't build with GNU make 3.76.1 :): 00027, Alexandre Duret-Lutz |
| Previous by Thread: | coreutils-4.5.9 releasedi: 00027, Jim Meyering |
| Next by Thread: | Re: 4.5.9 test failure: fail-2eperm: 00027, Jim Meyering |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |