]> www.tinc-vpn.org Git - tinc/blobdiff - test/integration/executables.py
Add tests for some device & address variables
[tinc] / test / integration / executables.py
index 121683aa8eab4818ec5c5e2a2b85e3633544f02c..eb78784e2931a5fd9880b20240b1b335bb0c84ce 100755 (executable)
@@ -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)