From 9adbba6fb9404bb7f6d88cf58e7d5ce06fe73b0e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Mar 2010 13:14:18 -0800 Subject: Allow "make test" to complete as root. Obviously only safe on tightly controlled developer machines. Jeremy. --- source3/script/tests/selftest.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 09f7dc8c97..9994e47035 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -302,6 +302,7 @@ EOF ## create a test account ## +if [ "$USERID" != 0 ]; then cat >$NSS_WRAPPER_PASSWD<$NSS_WRAPPER_PASSWD<$NSS_WRAPPER_GROUP<