From: Anuj Mittal Date: Wed, 26 Jul 2023 16:22:06 +0000 (+0800) Subject: glibc/check-test-wrapper: don't emit warnings from ssh X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63b31ff7e54a171c4c02fca2e6b07aec64a410af;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glibc/check-test-wrapper: don't emit warnings from ssh 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc/check-test-wrapper b/meta/recipes-core/glibc/glibc/check-test-wrapper index 6ec9b9b29eb..5cc993f718a 100644 --- a/meta/recipes-core/glibc/glibc/check-test-wrapper +++ b/meta/recipes-core/glibc/glibc/check-test-wrapper @@ -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: