]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: don't assume fixed handle value in cache/0008_delete_by_handle_0
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 May 2021 14:19:56 +0000 (16:19 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 May 2021 14:31:05 +0000 (16:31 +0200)
commit78f57fda439d942a02b658539fbdd9e119c1187b
tree3e59b1c723018c43babf5887b36ff02721ca770d
parentfa1d5b344a9b30d9071909e1d4cc3343ba45fc97
tests: shell: don't assume fixed handle value in cache/0008_delete_by_handle_0

This test is occasionally reporting warning in one of my test boxes.
Update this test to extract the handle from ruleset listing, use
rudimentary invocation of the cut command to work around this.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/cache/0008_delete_by_handle_0