X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Fintegration%2Fexecutables.py;h=eb78784e2931a5fd9880b20240b1b335bb0c84ce;hb=4c6a9a9611442f958c3049a566ac4369653978e9;hp=121683aa8eab4818ec5c5e2a2b85e3633544f02c;hpb=9a012e485a2ed5ea5a28903d93bc625767bb20b2;p=tinc diff --git a/test/integration/executables.py b/test/integration/executables.py index 121683aa..eb78784e 100755 --- a/test/integration/executables.py +++ b/test/integration/executables.py @@ -16,5 +16,5 @@ for exe in ( cmd = [exe, "--help"] log.info('testing command "%s"', cmd) res = run(cmd, stdout=PIPE, stderr=PIPE, encoding="utf-8", timeout=10, check=False) - check.equals(0, res.returncode) + check.success(res.returncode) check.is_in("Usage:", res.stdout, res.stderr)