[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: |
Karl Berry |
Subject: |
Re: 2 of 36 test failed RCS5.8 - final update |
Date: |
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.
Just an idea.
Best,
k