diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-18 21:59:24 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-19 18:48:26 +0200 |
commit | b450c12223c4fc3fd8389809dace7dbccd513e95 (patch) | |
tree | bcaca064b789e380bd4a34117ff00f2ee9251550 /doc/nft.txt | |
parent | dac1fbe3d35bf5e78320c4402718628866ed9d0a (diff) |
tests/shell: run `nft --check` on persisted dump files
"nft --check" will trigger a rollback in kernel. The existing dump files
might hit new code paths. Take the opportunity to call the command on
the existing files.
And alternative would be to write a separate tests, that iterates over
all files. However, then we can only run all the commands sequentially
(unless we do something smart). That might be slower than the
opportunity to run the checks in parallel. More importantly, it would be
nice if the check for the dump file is clearly tied to the file's test.
So run it right after the test, from the test wrapper.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/nft.txt')
0 files changed, 0 insertions, 0 deletions