diff options
author | Michael Adam <obnox@samba.org> | 2012-05-29 16:35:18 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-05-31 04:46:06 +0200 |
commit | fef5ce7f0f53b2a33bd30ff8ebe639f622520d20 (patch) | |
tree | 9ea142cfd9b51894470016ec9d6cf385c0c6c93d /source4/utils/tests | |
parent | f6e6086ad06e86a0bf6e6bc636b1cef477568aed (diff) | |
download | samba-fef5ce7f0f53b2a33bd30ff8ebe639f622520d20.tar.gz samba-fef5ce7f0f53b2a33bd30ff8ebe639f622520d20.tar.bz2 samba-fef5ce7f0f53b2a33bd30ff8ebe639f622520d20.zip |
s4:selftest: determine nmblookup via binary mapping for blackbox test in tests.py
Diffstat (limited to 'source4/utils/tests')
-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 c622db94c8..5e4fcfb406 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 |