summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/owner
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-09 00:26:07 +0100
committerPhil Sutter <phil@nwl.cc>2024-03-19 18:24:47 +0100
commit531a630f9666c495c0a2588609a8f4912a4880b9 (patch)
tree448e9bba9b5c61de051900c8f8b74844227b230d /tests/shell/testcases/owner
parent938a135f2200766661e42a20e02d87555f5bacfa (diff)
tests: shell: Add missing json-nft dumps
Given that a bunch of issues got fixed, add some more dumps. Also add tests/shell/testcases/owner/dumps/0002-persist.nft while at it, even though it's really small. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/shell/testcases/owner')
-rw-r--r--tests/shell/testcases/owner/dumps/0002-persist.json-nft19
-rw-r--r--tests/shell/testcases/owner/dumps/0002-persist.nft3
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/shell/testcases/owner/dumps/0002-persist.json-nft b/tests/shell/testcases/owner/dumps/0002-persist.json-nft
new file mode 100644
index 00000000..f0c336a8
--- /dev/null
+++ b/tests/shell/testcases/owner/dumps/0002-persist.json-nft
@@ -0,0 +1,19 @@
+{
+ "nftables": [
+ {
+ "metainfo": {
+ "version": "VERSION",
+ "release_name": "RELEASE_NAME",
+ "json_schema_version": 1
+ }
+ },
+ {
+ "table": {
+ "family": "ip",
+ "name": "t",
+ "handle": 0,
+ "flags": "persist"
+ }
+ }
+ ]
+}
diff --git a/tests/shell/testcases/owner/dumps/0002-persist.nft b/tests/shell/testcases/owner/dumps/0002-persist.nft
new file mode 100644
index 00000000..b47027d3
--- /dev/null
+++ b/tests/shell/testcases/owner/dumps/0002-persist.nft
@@ -0,0 +1,3 @@
+table ip t {
+ flags persist
+}