]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: shell: Fix and extend chain rename test
authorPhil Sutter <phil@nwl.cc>
Fri, 28 Jul 2023 11:58:46 +0000 (13:58 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 28 Jul 2023 12:27:35 +0000 (14:27 +0200)
commit3bbf5269f25d7bc8cb6ecf2c44e6358579acc459
tree57c93f85a5d4a824f8c1498bd58ec93b25116182
parent687d76937be799a405e63e58861f7e4a965dfa8d
tests: shell: Fix and extend chain rename test

The old version exited unintentionally before testing ip6tables. Replace
it by a more complete variant testing for all tools, creating and
renaming of,chains with various illegal names instead of just renaming
to a clashing name.

Fixes: ed9cfe1b48526 ("tests: add initial save/restore test cases")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/testcases/chain/0003rename_0 [new file with mode: 0755]
iptables/tests/shell/testcases/chain/0003rename_1 [deleted file]