]> git.ipfire.org Git - thirdparty/nftables.git/commit
test: shell: Add wait_local_port_listen() helper to lib.sh
authorYi Chen <yiche@redhat.com>
Sun, 22 Jun 2025 12:55:53 +0000 (20:55 +0800)
committerFlorian Westphal <fw@strlen.de>
Sun, 22 Jun 2025 13:28:28 +0000 (15:28 +0200)
commitfe51e4e2dfece307f19ae88155d1ad836bc43317
tree1a7aac38b95c4da9a6752a952f582b41ecc1bc34
parentf21d7d4bf853960f5b1bb4d5ac280b25682fa088
test: shell: Add wait_local_port_listen() helper to lib.sh

Introduce a new helper function wait_local_port_listen() in helpers/lib.sh.
Update the flowtables and nat_ftp test cases to use this helper.

Signed-off-by: Yi Chen <yiche@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/helpers/lib.sh
tests/shell/testcases/packetpath/flowtables
tests/shell/testcases/packetpath/nat_ftp