blob: 6a96987b9c33852b5af8f620745e047e07bd02cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/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
skipped="LOCAL-RESOLVE"
echo "WARNING: Skipping $skipped"
failed=0
for t in $local_tests; do
skip=0
for s in $skipped; do
if [ x"$s" = x"$t" ]; then
skip=1;
break;
fi
done
if [ $skip = 1 ]; then
continue;
fi
name="$t"
testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
done
testok $0 $failed
|