]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fir error reporting when starting up fails 11026/head
authorOtto <otto.moerbeek@open-xchange.com>
Tue, 23 Nov 2021 10:24:10 +0000 (11:24 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 23 Nov 2021 10:24:10 +0000 (11:24 +0100)
regression-tests.api/runtests.py

index 9b12cc6287150249ca6dc379885b9f5c3e4cf49b..92587bb5139bc362fd51b92e823b6b3d2c0f29a6 100755 (executable)
@@ -257,9 +257,9 @@ if not available:
     serverproc.terminate()
     serverproc.wait()
     print("==STDOUT===")
-    print(proc.stdout.read())
+    print(serverproc.stdout.read())
     print("==STDERRR===")
-    print(proc.stderr.read())
+    print(serverproc.stderr.read())
     sys.exit(2)
 
 print("Query for example.com/A to create statistic data...")