[PATCH nft v2 4/4] tests/shell: add ".nft" dump files for tests without dumps/ directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tests/shell/testcases/bogons/dumps/assert_failures.nft    | 0
 tests/shell/testcases/netns/dumps/0001nft-f_0.nft         | 0
 tests/shell/testcases/netns/dumps/0002loosecommands_0.nft | 0
 tests/shell/testcases/netns/dumps/0003many_0.nft          | 0
 tests/shell/testcases/nft-i/dumps/0001define_0.nft        | 0
 tests/shell/testcases/owner/dumps/0001-flowtable-uaf.nft  | 0
 6 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tests/shell/testcases/bogons/dumps/assert_failures.nft
 create mode 100644 tests/shell/testcases/netns/dumps/0001nft-f_0.nft
 create mode 100644 tests/shell/testcases/netns/dumps/0002loosecommands_0.nft
 create mode 100644 tests/shell/testcases/netns/dumps/0003many_0.nft
 create mode 100644 tests/shell/testcases/nft-i/dumps/0001define_0.nft
 create mode 100644 tests/shell/testcases/owner/dumps/0001-flowtable-uaf.nft

diff --git a/tests/shell/testcases/bogons/dumps/assert_failures.nft b/tests/shell/testcases/bogons/dumps/assert_failures.nft
new file mode 100644
index 000000000000..e69de29bb2d1
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
index 000000000000..e69de29bb2d1
diff --git a/tests/shell/testcases/netns/dumps/0002loosecommands_0.nft b/tests/shell/testcases/netns/dumps/0002loosecommands_0.nft
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/tests/shell/testcases/netns/dumps/0003many_0.nft b/tests/shell/testcases/netns/dumps/0003many_0.nft
new file mode 100644
index 000000000000..e69de29bb2d1
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
index 000000000000..e69de29bb2d1
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
index 000000000000..e69de29bb2d1
-- 
2.41.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux