mirror of
https://github.com/samba-team/samba.git
synced 2025-12-06 16:23:49 +03:00
32 lines
587 B
Bash
Executable File
32 lines
587 B
Bash
Executable File
#!/bin/sh
|
|
|
|
local_tests=`bin/smbtorture --list | grep "^LOCAL-" | xargs`
|
|
|
|
if [ `uname` = "Linux" ]; then
|
|
# testing against the system iconv only makes sense for our 'reference' iconv
|
|
# behaviour
|
|
local_tests="$local_tests LOCAL-ICONV"
|
|
fi
|
|
|
|
if [ $# -lt 0 ]; then
|
|
cat <<EOF
|
|
Usage: test_local.sh
|
|
EOF
|
|
exit 1;
|
|
fi
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
# the local tests don't need smbd
|
|
SMBD_TEST_FIFO=""
|
|
export SMBD_TEST_FIFO
|
|
|
|
failed=0
|
|
for t in $local_tests; do
|
|
name="$t"
|
|
testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
|
|
done
|
|
|
|
testok $0 $failed
|