All of lore.kernel.org
 help / color / mirror / Atom feed
* [iptables PATCH] tests: shell: fix bashism
@ 2021-10-01 19:12 Jeremy Sowden
  2021-10-01 20:07 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2021-10-01 19:12 UTC (permalink / raw)
  To: Netfilter Devel

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(-)

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)
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [iptables PATCH] tests: shell: fix bashism
  2021-10-01 19:12 [iptables PATCH] tests: shell: fix bashism Jeremy Sowden
@ 2021-10-01 20:07 ` Florian Westphal
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2021-10-01 20:07 UTC (permalink / raw)
  To: Jeremy Sowden; +Cc: Netfilter Devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-01 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 19:12 [iptables PATCH] tests: shell: fix bashism Jeremy Sowden
2021-10-01 20:07 ` Florian Westphal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.