Skip to content

Commit

Permalink
Extend tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Mar 16, 2024
1 parent 81ca1bf commit 540432d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions util/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ args2=(--icmp 100::x)
regex='2001:db8::1 > 100::a: \[icmp6 sum ok\] ICMP6, echo request'
dotest

id="ICMP with TTL"
args2=(--icmp 2001:db8::b00b --ttl 126)
regex='IP6 \(hlim 126,.* ICMP6, echo request'
dotest

id="TCP"
args2=(-b -p 1 100::x)
regex='2001:db8::1\.64000 > 100::b\.1: Flags \[S\], cksum [^ ]+ \(correct\).*, length 0'
Expand All @@ -43,6 +48,11 @@ args2=(-bu -p 53 100::x)
regex='2001:db8::1\.64000 > 100::c\.53: \[udp sum ok\] [^ ]+ TXT [^ ]+ version\.bind\.'
dotest

id="UDP no banner"
args2=(-u -p 404 100::x)
regex='2001:db8::1\.64000 > 100::4\.404: \[udp sum ok\] UDP, length 0$'
dotest

##

echo "=== Done ==="
Expand Down

0 comments on commit 540432d

Please sign in to comment.