diff options
author | Phil Sutter <phil@nwl.cc> | 2023-02-01 01:49:37 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-02-17 18:18:48 +0100 |
commit | 7e63a66e3f02e127895cfc82415219241e3ff6b3 (patch) | |
tree | 026c2ef319d34bde54f001d7039e79f0170aa146 /xlate-test.py | |
parent | 914350a4586d2817ca7c4919c53142562f27bdaf (diff) |
tests: xlate: Print file names even if specified
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@nwl.cc>
Diffstat (limited to 'xlate-test.py')
-rwxr-xr-x | xlate-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlate-test.py b/xlate-test.py index 09e3b67a..6a116598 100755 --- a/xlate-test.py +++ b/xlate-test.py @@ -176,7 +176,7 @@ def run_test(name, payload): 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) |