[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2 of 36 test failed RCS5.8 - final update
From: |
Thien-Thi Nguyen |
Subject: |
Re: 2 of 36 test failed RCS5.8 - final update |
Date: |
Sat, 07 Jan 2012 21:02:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
() address@hidden (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).