diff options
author | Florian Westphal <fw@strlen.de> | 2018-07-10 12:58:24 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-07-10 12:59:30 +0200 |
commit | c468f01f10f3f5d968bf894aa5f63c1113db3b7a (patch) | |
tree | fc24833ea8cbe3bffe5cfe0ea2f6f885319980cb /extensions/libxt_policy.txlate | |
parent | 47d148461b2fc8336fa2be312ba6a75e7b7feea4 (diff) |
tests: check iptables retval, not echo
Pablo reports that tests that should return nozero now fail.
Reason is that $? is checking return value of "echo" and not the script.
Fixes: 17c66a50608 ("iptables: tests: shell: Add README")
Reported-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_policy.txlate')
0 files changed, 0 insertions, 0 deletions