aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netinet6/frag6/frag6_03.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys/netinet6/frag6/frag6_03.sh')
-rwxr-xr-xtests/sys/netinet6/frag6/frag6_03.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sys/netinet6/frag6/frag6_03.sh b/tests/sys/netinet6/frag6/frag6_03.sh
index edfdbe04d101..1881ff463229 100755
--- a/tests/sys/netinet6/frag6/frag6_03.sh
+++ b/tests/sys/netinet6/frag6/frag6_03.sh
@@ -52,6 +52,16 @@ frag6_03_check_stats() {
# The Python script has to wait for this already to get the ICMPv6
# hence we do not sleep here anymore.
+ nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets`
+ case ${nf} in
+ 0) break ;;
+ *) atf_fail "VNET frag6_nfragpackets not 0 but: ${nf}" ;;
+ esac
+ nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
+ case ${nf} in
+ 0) break ;;
+ *) atf_fail "Global frag6_nfrags not 0 but: ${nf}" ;;
+ esac
#
# Check selection of global UDP stats.