]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests/shell: Fix dump of chains/0016delete_handle_0
authorPhil Sutter <phil@nwl.cc>
Mon, 19 Mar 2018 17:02:03 +0000 (18:02 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 20 Mar 2018 12:06:23 +0000 (13:06 +0100)
The purpose of this test is to delete some chains by their handle and
that is supposed to succeed. So the respective dump should not contain
them anymore.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/chains/dumps/0016delete_handle_0.nft

index de6ee9c0940841e0bde050c82ee50bf8e309fa30..c0adb1f389cf435f2325f7617a1264dc594d7148 100644 (file)
@@ -2,9 +2,6 @@ table ip test-ip {
        chain x {
        }
 
-       chain y {
-       }
-
        chain z {
        }
 }
@@ -14,7 +11,4 @@ table ip6 test-ip6 {
 
        chain y {
        }
-
-       chain z {
-       }
 }