]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: make duplicate test work
authorFlorian Westphal <fw@strlen.de>
Mon, 25 Jun 2018 14:49:05 +0000 (16:49 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 25 Jun 2018 14:49:08 +0000 (16:49 +0200)
commite06387383f0c8d49e9e2a736273b4932ff68a5ae
tree141d224d44979a5de8456c05fb7c52923bbc96f2
parentd26c538b9a549082c1696221282c007692261a35
tests: make duplicate test work

set -e causes 2nd command (which is expected to fail)
to terminate the script as well.

So, don't set -e and let the error check invert the return
value to 0.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/tests/shell/testcases/chain/0002duplicate_0