summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-05-29 16:39:31 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-29 19:47:01 +0200
commitfe1cfd89c239cb6ce54f0c7b99ec2eb517db5f12 (patch)
tree0739e4109efded2096584ec80415b88252825750 /iptables
parent7f0a69c8fe78da130cc52ea9fc35ffb9cbc2b8ef (diff)
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") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables')
-rwxr-xr-xiptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_01
1 files changed, 1 insertions, 0 deletions
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 739e684a..2817376e 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