Message ID | 20200529144349.29880-1-phil@nwl.cc |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [iptables] tests: shell: Fix syntax in ipt-restore/0010-noflush-new-chain_0 | expand |
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
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> --- .../tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0 | 1 + 1 file changed, 1 insertion(+)