1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Files
samba-mirror/source/script/tests/test_swig.sh
Jelmer Vernooij 053d5a40bc r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well
2007-10-10 14:44:22 -05:00

25 lines
410 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
echo Testing tdb wrappers
scripting/swig/torture/torture_tdb.py
echo Testing ldb wrappers
scripting/swig/torture/torture_ldb.py
testok $0 $failed