]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: drop unstable dump for "transactions/0051map_0" test
authorThomas Haller <thaller@redhat.com>
Wed, 13 Sep 2023 17:05:05 +0000 (19:05 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 15 Sep 2023 14:03:41 +0000 (16:03 +0200)
commit01d0597710bd06f6dce12066f90224219baff5f0
treeb91491334b79a4de1ddb98fc913a48f91b3d2bc9
parent5a4bcf77ed8cbb3819379aa0f0fc9fd1bd5fa383
tests/shell: drop unstable dump for "transactions/0051map_0" test

The file "tests/shell/testcases/transactions/dumps/0051map_0.nft" gets
generated differently on Fedora 38 (6.4.14-200.fc38.x86_64) and
CentOS-Stream-9 (5.14.0-354.el9.x86_64). It's not stable.

    diff --git c/tests/shell/testcases/transactions/dumps/0051map_0.nft w/tests/shell/testcases/transactions/dumps/0051map_0.nft
    index 59d69df70e61..fa7df9f93757 100644
    --- c/tests/shell/testcases/transactions/dumps/0051map_0.nft
    +++ w/tests/shell/testcases/transactions/dumps/0051map_0.nft
    @@ -1,7 +1,11 @@
     table ip x {
    +    chain w {
    +    }
    +
         chain m {
         }

         chain y {
    +         ip saddr vmap { 1.1.1.1 : jump w, 2.2.2.2 : accept, 3.3.3.3 : goto m }
         }
     }

Drop it.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/transactions/dumps/0051map_0.nft [deleted file]
tests/shell/testcases/transactions/dumps/0051map_0.nodump [new file with mode: 0644]