r22544: use the same syntax as in all other files
authorStefan Metzmacher <metze@samba.org>
Sat, 28 Apr 2007 07:31:19 +0000 (07:31 +0000)
committerStefan Metzmacher <metze@samba.org>
Sat, 28 Apr 2007 07:31:19 +0000 (07:31 +0000)
maybe that fixes make test on all sun hosts...

metze

source/script/tests/test_nbt.sh

index 95bfb9696c0d4120050e72a3b0a10089a845ce49..d821b868ad3b3cc74fd1a455324c9570ca077d5a 100755 (executable)
@@ -12,7 +12,7 @@ export PATH
 plantest "nmblookup -U \$SERVER \$SERVER" dc bin/nmblookup $TORTURE_OPTIONS -U \$SERVER \$SERVER
 plantest "nmblookup \$SERVER" dc bin/nmblookup $TORTURE_OPTIONS \$SERVER
 
-NBT_TESTS=`bin/smbtorture --list | grep ^NBT`
+NBT_TESTS=`bin/smbtorture --list | grep "^NBT-" | xargs`
 
 for f in $NBT_TESTS; do
     plantest "$f" dc bin/smbtorture $TORTURE_OPTIONS //\$SERVER/_none_ $f -U\$USERNAME%\$PASSWORD