diff mbox series

[iptables] tests: shell: fix bashism

Message ID 20211001191228.1315767-1-jeremy@azazel.net
State Accepted
Delegated to: Pablo Neira
Headers show
Series [iptables] tests: shell: fix bashism | expand

Commit Message

Jeremy Sowden Oct. 1, 2021, 7:12 p.m. UTC
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(-)

Comments

Florian Westphal Oct. 1, 2021, 8:07 p.m. UTC | #1
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 mbox series

Patch

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)