]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests/shell: add ".nft" dump files for tests without dumps/ directory
authorThomas Haller <thaller@redhat.com>
Fri, 8 Sep 2023 14:14:27 +0000 (16:14 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 9 Sep 2023 14:19:57 +0000 (16:19 +0200)
DUMPGEN=y mode skips tests that don't have a corresponding "dumps/"
directory.

Add the "dumps/" directory for tests that lacked it, and generate ".nft"
files by running `./tests/shell/run-tests.sh -g`.

Yes, they are all empty. Not very exciting, but why not check for that
too?

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/bogons/dumps/assert_failures.nft [new file with mode: 0644]
tests/shell/testcases/netns/dumps/0001nft-f_0.nft [new file with mode: 0644]
tests/shell/testcases/netns/dumps/0002loosecommands_0.nft [new file with mode: 0644]
tests/shell/testcases/netns/dumps/0003many_0.nft [new file with mode: 0644]
tests/shell/testcases/nft-i/dumps/0001define_0.nft [new file with mode: 0644]
tests/shell/testcases/owner/dumps/0001-flowtable-uaf.nft [new file with mode: 0644]

diff --git a/tests/shell/testcases/bogons/dumps/assert_failures.nft b/tests/shell/testcases/bogons/dumps/assert_failures.nft
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/shell/testcases/netns/dumps/0001nft-f_0.nft b/tests/shell/testcases/netns/dumps/0001nft-f_0.nft
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/shell/testcases/netns/dumps/0002loosecommands_0.nft b/tests/shell/testcases/netns/dumps/0002loosecommands_0.nft
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/shell/testcases/netns/dumps/0003many_0.nft b/tests/shell/testcases/netns/dumps/0003many_0.nft
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/shell/testcases/nft-i/dumps/0001define_0.nft b/tests/shell/testcases/nft-i/dumps/0001define_0.nft
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/shell/testcases/owner/dumps/0001-flowtable-uaf.nft b/tests/shell/testcases/owner/dumps/0001-flowtable-uaf.nft
new file mode 100644 (file)
index 0000000..e69de29