[iptables PATCH] tests: shell: Fix syntax in ipt-restore/0010-noflush-new-chain_0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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")
Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 .../tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0 b/iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0
index 739e684a21183..2817376ed913e 100755
--- a/iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0
+++ b/iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0
@@ -8,3 +8,4 @@ $XT_MULTI iptables-restore --noflush <<EOF
 :foobar - [0:0]
 -A foobar -j ACCEPT
 COMMIT
+EOF
-- 
2.26.2




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux