1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00
Tim Potter 860a4ed444 r14971: Update test script with new location of tdb and ldb wrappers.
(This used to be commit 7794dcd096d011ff0d8d9717040c879e0ec8c67f)
2007-10-10 14:00:48 -05:00

22 lines
415 B
Bash
Executable File

#!/bin/sh
if [ $# -ne 0 ]; then
cat <<EOF
Usage: test_swig.sh
EOF
exit 1;
fi
incdir=`dirname $0`
. $incdir/test_functions.sh
failed=0
export PYTHONPATH=lib/tdb/swig:lib/ldb/swig:scripting/swig:$PYTHONPATH
export LD_LIBRARY_PATH=bin:$LD_LIBRARY_PATH
scripting/swig/torture/torture_tdb.py || failed=`expr $failed + 1`
scripting/swig/torture/torture_ldb.py || failed=`expr $failed + 1`
testok $0 $failed