mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
37a13964ef
- Use --list option for smbtorture for local and nbt tests as well (This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
25 lines
410 B
Bash
Executable File
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
|