unittests: makes the unit tests for ldb.python back in order
authorMatthieu Patou <mat@matws.net>
Mon, 4 Oct 2010 18:54:46 +0000 (22:54 +0400)
committerMatthieu Patou <mat@sn-devel-104.sn.samba.org>
Mon, 4 Oct 2010 19:42:19 +0000 (19:42 +0000)
source4/selftest/tests.py

index b6402e8a464be74b021a82a6aa914a3175ae63f0..5a2880aea0d7afb524aa226d9de32cf2c78355af 100755 (executable)
@@ -443,7 +443,7 @@ else:
     skiptestsuite("samba4.nss.test using winbind(member)", "nsstest not available")
 
 subunitrun = valgrindify(python) + " " + os.path.join(samba4srcdir, "scripting/bin/subunitrun")
-plantestsuite("ldb.python", "none", ['PYTHONPATH="$PYTHONPATH:$samba4srcdir/lib/ldb/tests/python/"', python, '$samba4srcdir/lib/ldb/tests/python/api.py'])
+plantestsuite("ldb.python", "none", ['PYTHONPATH="$PYTHONPATH:./lib/ldb/tests/python/"', subunitrun, 'api'])
 planpythontestsuite("none", "samba.tests.credentials")
 planpythontestsuite("none", "samba.tests.gensec")
 planpythontestsuite("none", "samba.tests.registry")