1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/script/tests/test_swig.sh
Jelmer Vernooij 86d77746db r21910: Clean up some unused functions.
(This used to be commit 36cd3406db)
2007-10-10 14:49:38 -05:00

21 lines
381 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
export PYTHONPATH=lib/tdb/swig:lib/ldb/swig:scripting/swig:$PYTHONPATH
export LD_LIBRARY_PATH=bin:$LD_LIBRARY_PATH
echo Testing tdb wrappers
scripting/swig/torture/torture_tdb.py
echo Testing ldb wrappers
scripting/swig/torture/torture_ldb.py