mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
477ecbd498
(This used to be commit 022d5a43ce
)
19 lines
475 B
Bash
Executable File
19 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
# test some NBT/WINS operations
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
TEST_NBT_ENVNAME=$1
|
|
if test x"$TEST_NBT_ENVNAME" = x"";then
|
|
TEST_NBT_ENVNAME="dc"
|
|
fi
|
|
|
|
NBT_TESTS=`$samba4bindir/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 $samba4bindir/smbtorture $TORTURE_OPTIONS //\$SERVER/_none_ $f -U\$USERNAME%\$PASSWORD
|
|
done
|
|
fi
|