Re: 2 of 36 test failed RCS5.8 - final update
Thien-Thi Nguyen <[email protected]> Sat, 07 Jan 2012 21:02:03 +0100
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
() [email protected] (Karl Berry) () Fri, 6 Jan 2012 15:10:20 -0800 That's correct; "make check" is not designed to be run as root. Then how about having it complain in that case? No real need for perfect detection, seems to me, so something like this could suffice: if test x`id -u 2>/dev/null` = x0; then echo "make (check) in rcs cannot be run as root." >&2 exit 1 fi Of course, it would be better to simply support running make check as root, but I don't know what the issue is with that. Thanks for the raising this point. I think i will try to identify those tests that are sensitive to being run as root and skip them (exit 77).