[iptables PATCH 2/2] tests: xlate: Print file names even if specified

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

 



Since the script now supports running for multiple files given on
command line, do not skip printing a status line for each.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 xlate-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xlate-test.py b/xlate-test.py
index 09e3b67a853df..6a11659868479 100755
--- a/xlate-test.py
+++ b/xlate-test.py
@@ -176,7 +176,7 @@ xtables_nft_multi = 'xtables-nft-multi'
                 result.append(name + ": " + red("Fail"))
                 result.append("nft flush ruleset call failed: " + error)
 
-    if (passed == tests) and not args.test:
+    if (passed == tests):
         print(name + ": " + green("OK"))
     if not test_passed:
         print("\n".join(result), file=sys.stderr)
-- 
2.38.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux