]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
tests: shell: Fix syntax in ipt-restore/0010-noflush-new-chain_0
authorPhil Sutter <phil@nwl.cc>
Fri, 29 May 2020 14:39:31 +0000 (16:39 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 29 May 2020 17:47:01 +0000 (19:47 +0200)
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@nwl.cc>
iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0

index 739e684a21183825a601ac66853045872e2139b5..2817376ed913ee4c975ec57fd4fe619aa6765c48 100755 (executable)
@@ -8,3 +8,4 @@ $XT_MULTI iptables-restore --noflush <<EOF
 :foobar - [0:0]
 -A foobar -j ACCEPT
 COMMIT
+EOF