diff options
author | Shyam Saini <mayhs11saini@gmail.com> | 2017-06-21 14:17:45 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-26 19:23:26 +0200 |
commit | 1325419d43184ffe426878af2a2f050e28702852 (patch) | |
tree | fb43e166e97b092644aa3291d3e613e0e6a52f24 /tests/shell/testcases/include/0012dir_dependency_1 | |
parent | b4953803f26c442cdec4cad78a8261e9b97cd015 (diff) |
tests: py: Fail test forcefully when bug is not fixed
When we have "fail" in the test cases then py test doesn't complain
anything, but the test should complain if the fix is not applied.
Before applying 986dea8a4a9d ("evaluate: avoid reference to multiple src
data in statements which set values"), nft throws following error
message and exits with error code 134.
$ nft add rule x y tcp dport set { 0 , 1 }
BUG: unknown expression type set reference
nft: netlink_linearize.c:696: netlink_gen_expr: Assertion `0' failed.
Aborted
This commit enforces nft-test.py to throw error message when the fix
is not applied.
Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/include/0012dir_dependency_1')
0 files changed, 0 insertions, 0 deletions