]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
regression-tests.auth-py: avoid authbind on macOS 14598/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 27 Aug 2024 18:40:24 +0000 (20:40 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 27 Aug 2024 18:40:24 +0000 (20:40 +0200)
Not necessary.

regression-tests.auth-py/authtests.py

index 2b096d2efdee233b291c1133f49fa446e35a4b82..5eb6534df8fef6ec87713ba4d9c7acd8478f8270 100644 (file)
@@ -69,8 +69,10 @@ PrivateKey: Lt0v0Gol3pRUFM7fDdcy0IWN0O/MnEmVPA+VylL8Y4U=
         """,
     }
 
-    _auth_cmd = ['authbind',
-                 os.environ['PDNS']]
+    _auth_cmd = [os.environ['PDNS']]
+    if sys.platform != 'darwin':
+        _auth_cmd = ['authbind'] + _auth_cmd
+
     _auth_env = {}
     _auths = {}