Message ID | 20211001191228.1315767-1-jeremy@azazel.net |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [iptables] tests: shell: fix bashism | expand |
Jeremy Sowden <jeremy@azazel.net> wrote: > The `<(cmd)` redirection is specific to Bash. Update the shebang > accordingly. > > Fixes: 63ab4fe3a191 ("ebtables: Avoid dropping policy when flushing") Applied, thanks.
diff --git a/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 b/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 index faf37d02eaea..d79f91b1446d 100755 --- a/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 +++ b/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash case "$XT_MULTI" in *xtables-nft-multi)
The `<(cmd)` redirection is specific to Bash. Update the shebang accordingly. Fixes: 63ab4fe3a191 ("ebtables: Avoid dropping policy when flushing") Signed-off-by: Jeremy Sowden <jeremy@azazel.net> --- iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)