summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2014-06-29 10:51:23 +0100
committerThomas Habets <thomas@habets.se>2014-06-29 10:51:23 +0100
commit3168af62f9898a371363c291265584e8d913c42c (patch)
tree042dac797cff0b3f7a041a0c736c6ccc06bd3ef7
parent309199e82ed2992d6cc3403324385e25ebba8e4d (diff)
downloadarping-3168af62f9898a371363c291265584e8d913c42c.tar.gz
Fix tests that try to autodetect interface.
-rwxr-xr-xextra/testing.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/testing.exp b/extra/testing.exp
index fcc3765..7e0d95b 100755
--- a/extra/testing.exp
+++ b/extra/testing.exp
@@ -127,7 +127,7 @@ expect -re "\a$mac\r
expect eof
send_user -- "--------------- Ping IP Raw audio bad dest (-r -e) ------------------\n"
-spawn $bin -c 2 -r -e $bad_ip
+spawn $bin -c 2 -r -i "$ifname" -e $bad_ip
expect -re "\a\a"
expect eof
@@ -196,7 +196,7 @@ rtt min/avg/max/std-dev = \[0-9.\]+/\[0-9.\]+/\[0-9.\]+/\[0-9.\]+ ms\r
expect eof
send_user -- "--------- Ping IP x 2 with inverted audio, bad IP (-e) ------------\n"
-spawn $bin -c 2 -e "$bad_ip"
+spawn $bin -c 2 -i "$ifname" -e "$bad_ip"
expect -re "ARPING $bad_ip\r
\aTimeout\r
\aTimeout\r