]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: workaround lack of $SRANDOM before bash 5.1
authorThomas Haller <thaller@redhat.com>
Mon, 27 Nov 2023 19:15:36 +0000 (20:15 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 28 Nov 2023 01:06:52 +0000 (02:06 +0100)
commit50ed58323883c238f5809d471c677662a427d41b
tree6624a069b665669535a4104ca12439507fb5dac7
parentf03ca7390f8b923d4302b08941ad9e87440240f9
tests/shell: workaround lack of $SRANDOM before bash 5.1

$SRANDOM is only supported since bash 5.1. Add a fallback to $RANDOM.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/run-tests.sh