summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-12 06:35:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:00 -0500
commit47ab0ed8edd9d2c8b1ca76cfc3bb3f3ae0917f51 (patch)
tree766131a5925f49c8b834bdbbe1f7fa2588d7fd68 /source4/script
parent2e1851e1acae4aba40fd38bc0f7b088599e9cba9 (diff)
downloadsamba-47ab0ed8edd9d2c8b1ca76cfc3bb3f3ae0917f51.tar.gz
samba-47ab0ed8edd9d2c8b1ca76cfc3bb3f3ae0917f51.tar.bz2
samba-47ab0ed8edd9d2c8b1ca76cfc3bb3f3ae0917f51.zip
r7499: ensure that the account we run tests as ("Administrator") maps to the
unixName that we are running as in the test suite. Otherwise files are created as a user without any entry in the sam, so the ACL doesn't allow that user read permission when it should. This should fix the RAW-ACLS test in the build farm. (This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/selftest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index 4f3233a917..880a2f097b 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -3,6 +3,7 @@ DOMAIN=SAMBADOMAIN
USERNAME=administrator
REALM=$DOMAIN
PASSWORD=penguin
+ROOT=$USER
SRCDIR=`pwd`
if [ $# -lt 1 ]
@@ -38,7 +39,8 @@ incdir=`dirname $0`
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR
-./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM --adminpass $PASSWORD
+./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM \
+ --adminpass $PASSWORD --root=$ROOT
cat >$CONFFILE<<EOF
[global]