mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
24 lines
372 B
Bash
Executable File
24 lines
372 B
Bash
Executable File
#!/bin/sh
|
|
# test some NBT/WINS operations
|
|
|
|
if [ $# -lt 1 ]; then
|
|
cat <<EOF
|
|
Usage: test_nbt.sh SERVER
|
|
EOF
|
|
exit 1;
|
|
fi
|
|
|
|
SERVER="$1"
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
SCRIPTDIR=../testprogs/ejs
|
|
|
|
PATH=bin:$PATH
|
|
export PATH
|
|
|
|
for f in NBT-REGISTER NBT-WINS; do
|
|
testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f || failed=`expr $failed + 1`
|
|
done
|