On Thursday 17 March 2016 02:04 PM, Arturo Borrero Gonzalez wrote: > This patch adjusts the main test script so it unload all nftables > kernel modules between tests. > > This way we achieve two interesting things: > * avoid false errors in some testcases due to module loading order > * the module loading/unloading path itself > [....] > test_output=$(NFT=$NFT ${testfile} ${TESTS_OUTPUT} 2>&1) > @@ -69,4 +90,4 @@ done > echo "" > msg_info "results: [OK] $ok [FAILED] $failed [TOTAL] $((ok+failed))" > > -$NFT flush ruleset > +kernel_cleanup > I'm getting nonzero return code(1) by this last kernel_cleanup call, maybe. > -- > 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 > -- 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