summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-02 13:57:08 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-02 18:05:42 +0200
commitac9ff3574d6acac4f52c1d4d588cc9a7a3f919d6 (patch)
treec091f9cdb420b46220e5aade753e03d23d1ab4ea /source4/selftest
parent00bfe9c286b7156f30a5cad4ee6d42557f3c7835 (diff)
downloadsamba-ac9ff3574d6acac4f52c1d4d588cc9a7a3f919d6.tar.gz
samba-ac9ff3574d6acac4f52c1d4d588cc9a7a3f919d6.tar.bz2
samba-ac9ff3574d6acac4f52c1d4d588cc9a7a3f919d6.zip
Fix pythonpath so subunit can be found.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index 58cdc0898b..f4f6d46b20 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -421,7 +421,7 @@ plantest "samba3sam.python" none PYTHONPATH="$PYTHONPATH:$samba4srcdir/dsdb/samd
plantest "subunit.python" none $SUBUNITRUN subunit
plantest "rpcecho.python" dc:local $SUBUNITRUN samba.tests.dcerpc.rpcecho
plantest "winreg.python" dc:local $SUBUNITRUN -U\$USERNAME%\$PASSWORD samba.tests.dcerpc.registry
-plantest "ldap.python" dc $PYTHON $samba4srcdir/lib/ldb/tests/python/ldap.py $CONFIGURATION \$SERVER -U\$USERNAME%\$PASSWORD -W \$DOMAIN
+plantest "ldap.python" dc PYTHONPATH="$PYTHONPATH:../lib/subunit/python" $PYTHON $samba4srcdir/lib/ldb/tests/python/ldap.py $CONFIGURATION \$SERVER -U\$USERNAME%\$PASSWORD -W \$DOMAIN
plantest "possibleInferiors.python" dc $PYTHON $samba4srcdir/dsdb/samdb/ldb_modules/tests/possibleinferiors.py $CONFIGURATION ldap://\$SERVER -U\$USERNAME%\$PASSWORD -W \$DOMAIN
plantest "blackbox.samba3dump" none $PYTHON $samba4srcdir/scripting/bin/samba3dump $samba4srcdir/../testdata/samba3
rm -rf $PREFIX/upgrade