summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2015-11-27 11:15:37 +0000
committerThomas Habets <thomas@habets.se>2015-11-27 11:15:37 +0000
commit03f7494c33b5fa07175f239a0edf7a3b4e1e12f7 (patch)
treeaba0aa433894ed60e0f6f15720084f71c73f03e4 /extra
parent18e8a269f3d2d2f64cf5fdd4099d3b8d2ee423c4 (diff)
downloadarping-03f7494c33b5fa07175f239a0edf7a3b4e1e12f7.tar.gz
Test -d a bit
Diffstat (limited to 'extra')
-rwxr-xr-xextra/testing.exp10
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"