]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
glibc/check-test-wrapper: don't emit warnings from ssh
authorAnuj Mittal <anuj.mittal@intel.com>
Wed, 26 Jul 2023 16:22:06 +0000 (00:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Jul 2023 19:50:57 +0000 (20:50 +0100)
Dont fill up the test log with ssh warning about having added the host
to list of known hosts.

Also helps fix a test case failure where stderr log was being compared
to a known value.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc/check-test-wrapper

index 6ec9b9b29ebb567a8f58da1cbddcec039cc571d2..5cc993f718a74080616a1edecda2db04431af39b 100644 (file)
@@ -58,7 +58,7 @@ elif targettype == "ssh":
     user = os.environ.get("SSH_HOST_USER", None)
     port = os.environ.get("SSH_HOST_PORT", None)
 
-    command = ["ssh", "-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no"]
+    command = ["ssh", "-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no", "-o", "LogLevel=quiet"]
     if port:
         command += ["-p", str(port)]
     if not host: