Re: [PATCH] tests: py: Fail test forcefully when bug is not fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 21, 2017 at 02:17:45PM +0530, Shyam Saini wrote:
> 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 the [Test] commit, 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.

This also looks good, applied, thanks Shyam.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux