1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00
Jelmer Vernooij a73a8d4b9d r24706: Move nmblookup tests to separate blackbox testsuite.
(This used to be commit aeb2e714f22abe68f89218967a55d7abd2d04ae1)
2007-10-10 15:02:52 -05:00

22 lines
483 B
Bash
Executable File

#!/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