blob: 1ff5ee641d64a111a5d7127cd3c652fc139f736e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# test some NBT/WINS operations
incdir=`dirname $0`
. $incdir/test_functions.sh
PATH=bin:$PATH
export PATH
TEST_NBT_ENVNAME=$1
if test x"$TEST_NBT_ENVNAME" = x"";then
TEST_NBT_ENVNAME="dc"
fi
NBT_TESTS=`bin/smbtorture --list | grep "^NBT-" | xargs`
if test x"$TEST_NBT_ENVNAME" = x"dc";then
for f in $NBT_TESTS; do
plantest "$f:$TEST_NBT_ENVNAME" $TEST_NBT_ENVNAME bin/smbtorture $TORTURE_OPTIONS //\$SERVER/_none_ $f -U\$USERNAME%\$PASSWORD
done
fi
|