diff options
author | Thomas Habets <thomas@habets.se> | 2015-11-27 11:15:37 +0000 |
---|---|---|
committer | Thomas Habets <thomas@habets.se> | 2015-11-27 11:15:37 +0000 |
commit | 03f7494c33b5fa07175f239a0edf7a3b4e1e12f7 (patch) | |
tree | aba0aa433894ed60e0f6f15720084f71c73f03e4 /extra | |
parent | 18e8a269f3d2d2f64cf5fdd4099d3b8d2ee423c4 (diff) | |
download | arping-03f7494c33b5fa07175f239a0edf7a3b4e1e12f7.tar.gz |
Test -d a bit
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/testing.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/extra/testing.exp b/extra/testing.exp index fdc803b..3261f0b 100755 --- a/extra/testing.exp +++ b/extra/testing.exp @@ -16,6 +16,7 @@ # Tested here: # * -a # * -c +# * -d (minimally) # * -D # * -e # * -h @@ -36,7 +37,6 @@ # * -A (forced on with mac ping) # * -b # * -B -# * -d # * -p # * -P # * -U @@ -350,5 +350,13 @@ spawn $bin -A -c 2 -e -i $ifname -D -T $ip $bad_mac expect "\a.\a.\t100% packet loss (0 extra)\r\n" expect eof +send_user -- "--------- Detect duplicate ------------\n" +spawn $bin -c 2 -d $ip +expect eof + +send_user -- "--------- Detect duplicate of self ------------\n" +spawn $bin -c 2 -d +expect eof + send_user -- "---------------------------------------------------------\n" send_user -- "All tests passed\n" |