Skip to contentSkip to conversation

tests: shell: Fix syntax in ipt-restore/0010-noflush-new-chain_0

PATCH New Phil Sutter 1 participant 1 message May 29, 2020 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 tests: shell: Fix syntax in ipt-restore/0010-noflush-new-chain_0

The here-doc statement missed the final delimiter. Worked anyways because end-of-file would do the trick.

Fixes a103fbfadf4c1 ("xtables-restore: Fix parser feed from line buffer")
---
 .../tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0   | 1 +
 1 file changed, 1 insertion(+)
iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0 +1 -0
index 739e684a21183..2817376ed913e 100755
@@ -8,3 +8,4 @@ $XT_MULTI iptables-restore --noflush <<EOF
 :foobar - [0:0]
 -A foobar -j ACCEPT
 COMMIT
+EOF
Signature · 1 line
2.26.2