mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
15b2ab04b7
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>
15 lines
295 B
Bash
Executable File
15 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
# Verify that samba3dump completes.
|
|
|
|
. testprogs/blackbox/subunit.sh
|
|
|
|
subunit_start_test samba3dump
|
|
|
|
SRCDIR=`dirname $0`/../..
|
|
|
|
if $PYTHON $SRCDIR/source4/scripting/bin/samba3dump $SRCDIR/testdata/samba3; then
|
|
subunit_pass_test samba3dump
|
|
else
|
|
echo | subunit_fail_test samba3dump
|
|
fi
|