X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=test%2Fintegration%2Fexecutables.py;fp=test%2Fintegration%2Fexecutables.py;h=eb78784e2931a5fd9880b20240b1b335bb0c84ce;hp=121683aa8eab4818ec5c5e2a2b85e3633544f02c;hb=c8402791b82947c49ba1d04f855dab04191607ca;hpb=66eb66ec8f872db3dc12e1d01101772918d69a4a 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)