As part of port samba4.blackbox.samba3dump to python2/3
make sure test_samba3dump.sh runs samba3dump with $PYTHON which should
define the correct python version.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
SRCDIR=`dirname $0`/../..
-if $SRCDIR/source4/scripting/bin/samba3dump $SRCDIR/testdata/samba3; then
+if $PYTHON $SRCDIR/source4/scripting/bin/samba3dump $SRCDIR/testdata/samba3; then
subunit_pass_test samba3dump
else
echo | subunit_fail_test samba3dump