diff options
Diffstat (limited to 'source4/utils')
-rwxr-xr-x | source4/utils/tests/test_nmblookup.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/utils/tests/test_nmblookup.sh b/source4/utils/tests/test_nmblookup.sh index c622db94c88..5e4fcfb4069 100755 --- a/source4/utils/tests/test_nmblookup.sh +++ b/source4/utils/tests/test_nmblookup.sh @@ -5,7 +5,8 @@ NETBIOSNAME=$1 NETBIOSALIAS=$2 SERVER=$3 SERVER_IP=$4 -shift 4 +nmblookup=$5 +shift 5 TORTURE_OPTIONS=$* failed=0 @@ -26,9 +27,6 @@ testit() { return $status } -samba4bindir="$BINDIR" -nmblookup="$samba4bindir/nmblookup" - testit "nmblookup -U \$SERVER_IP \$SERVER" $nmblookup $TORTURE_OPTIONS -U $SERVER_IP $SERVER testit "nmblookup -U \$SERVER_IP \$NETBIOSNAME" $nmblookup $TORTURE_OPTIONS -U $SERVER_IP $NETBIOSNAME testit "nmblookup -U \$SERVER_IP \$NETBIOSALIAS" $nmblookup $TORTURE_OPTIONS -U $SERVER_IP $NETBIOSALIAS |