summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/ipt-restore/0010-noflush-new-chain_0
blob: 739e684a21183825a601ac66853045872e2139b5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

# assert input feed from buffer doesn't trip over
# added nul-chars from parsing chain line.

$XT_MULTI iptables-restore --noflush <<EOF
*filter
:foobar - [0:0]
-A foobar -j ACCEPT
COMMIT