make -C tools/testing/selftests TARGETS="net/netfilter" TEST_PROGS=nft_auddit.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-15/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make[1]: Entering directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' TAP version 13 1..1 # timeout set to 1800 # selftests: net/netfilter: nft_audit.sh # logging into /tmp/tmp.wTAlx8sD14 # testing for cmd: nft add table t1 ... OK # testing for cmd: nft add chain t1 c1 ... OK # testing for cmd: nft add chain t1 c2; add chain t1 c3 ... OK # testing for cmd: nft add rule t1 c1 counter ... OK # testing for cmd: nft add rule t1 c1 counter; add rule t1 c1 counter ... OK # testing for cmd: nft add rule t1 c2 counter; add rule t1 c2 counter; add rule t1 c2 counter; add rule t1 c3 counter; add rule t1 c3 counter; add rule t1 c3 counter ... OK # testing for cmd: nft add table t2 ... OK # testing for cmd: nft add chain t2 c1 ... OK # testing for cmd: nft add chain t2 c2; add chain t2 c3 ... OK # testing for cmd: nft add rule t2 c1 counter ... OK # testing for cmd: nft add rule t2 c1 counter; add rule t2 c1 counter ... OK # testing for cmd: nft add rule t2 c2 counter; add rule t2 c2 counter; add rule t2 c2 counter; add rule t2 c3 counter; add rule t2 c3 counter; add rule t2 c3 counter ... OK # testing for cmd: nft -f /tmp/tmp.u9gV6CJ5X1 ... OK # testing for cmd: nft add set t1 s { type inet_service; counter; elements = { 22, 80, 443 }; } ... OK # testing for cmd: nft add set t1 s2 { type inet_service; counter; elements = { 22, 80, 443 }; }; add set t1 s3 { type inet_service; counter; } ... OK # testing for cmd: nft add element t1 s3 { 22, 80, 443 } ... OK # testing for cmd: nft add counter t1 c1 ... OK # testing for cmd: nft add counter t2 c1; add counter t2 c2 ... OK # testing for cmd: nft -f /tmp/tmp.u9gV6CJ5X1 ... OK # testing for cmd: nft add quota t1 q1 { 10 bytes } ... OK # testing for cmd: nft add quota t2 q1 { 10 bytes }; add quota t2 q2 { 10 bytes } ... OK # testing for cmd: nft -f /tmp/tmp.u9gV6CJ5X1 ... OK # testing for cmd: nft add quota t1 q1 { 20 bytes } ... OK # testing for cmd: nft reset rules t1 c2 ... OK # testing for cmd: nft reset rules table t1 ... OK # testing for cmd: nft reset rules t2 c3 ... OK # testing for cmd: nft reset rules t2 ... OK # testing for cmd: nft reset rules ... OK # testing for cmd: nft reset element t1 s { 22 } ... OK # testing for cmd: nft reset element t1 s { 22,80 } ... OK # testing for cmd: nft reset element t1 s { 22,80,443 } ... OK # testing for cmd: nft reset set t1 s ... OK # testing for cmd: nft reset counter t1 c1 ... OK # testing for cmd: nft reset counters t1 ... OK # testing for cmd: nft reset counters t2 ... OK # testing for cmd: nft reset counters ... OK # testing for cmd: nft reset quota t1 q1 ... OK # testing for cmd: nft reset quotas t1 ... OK # testing for cmd: nft reset quotas t2 ... OK # testing for cmd: nft reset quotas ... OK # testing for cmd: nft delete rule t1 c1 handle 4 ... OK # testing for cmd: nft delete rule t1 c1 handle 5; delete rule t1 c1 handle 6 ... OK # testing for cmd: nft flush chain t1 c2 ... OK # testing for cmd: nft flush table t2 ... OK # testing for cmd: nft delete chain t2 c2 ... OK # testing for cmd: nft delete element t1 s { 22 } ... OK # testing for cmd: nft delete element t1 s { 80, 443 } ... OK # testing for cmd: nft flush set t1 s2 ... OK # testing for cmd: nft delete set t1 s2 ... OK # testing for cmd: nft delete set t1 s3 ... OK ok 1 selftests: net/netfilter: nft_audit.sh make[1]: Leaving directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make: Leaving directory '/home/virtme/testing-15/tools/testing/selftests' xx__-> echo $? 0 xx__->