Lines Matching refs:check
49 check() function
71 check "ip netns exec $ns1 ./pm_nl_ctl dump" "" "defaults addr list"
72 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
78 check "ip netns exec $ns1 ./pm_nl_ctl get 1" "id 1 flags 10.0.1.1" "simple add/get addr"
80 check "ip netns exec $ns1 ./pm_nl_ctl dump" \
86 check "ip netns exec $ns1 ./pm_nl_ctl get 2" "" "simple del addr"
87 check "ip netns exec $ns1 ./pm_nl_ctl dump" \
92 check "ip netns exec $ns1 ./pm_nl_ctl get 4" "" "duplicate addr"
95 check "ip netns exec $ns1 ./pm_nl_ctl get 4" "id 4 flags signal 10.0.1.4" "id addr increment"
100 check "ip netns exec $ns1 ./pm_nl_ctl get 9" "id 9 flags signal 10.0.1.9" "hard addr limit"
101 check "ip netns exec $ns1 ./pm_nl_ctl get 10" "" "above hard addr limit"
108 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags 10.0.1.1
117 check "ip netns exec $ns1 ./pm_nl_ctl dump" "" "flush addrs"
120 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
124 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
128 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 8
140 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags 10.0.1.1
158 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags 10.0.0.1
170 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
173 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
176 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
179 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
182 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \