diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2023-07-27 00:22:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-26 20:51:00 +0100 |
commit | d6294101a836985ba9149a04c3ad9a29275ada74 (patch) | |
tree | f797078b42977fc6c97086c011a05d65d181bfae /meta | |
parent | 5e7bf2a17d888bf2a8afcbbbd92269d873e7422c (diff) | |
download | poky-d6294101a836985ba9149a04c3ad9a29275ada74.tar.gz |
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.
(From OE-Core rev: 63b31ff7e54a171c4c02fca2e6b07aec64a410af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glibc/glibc/check-test-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc/check-test-wrapper b/meta/recipes-core/glibc/glibc/check-test-wrapper index 6ec9b9b29e..5cc993f718 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": | |||
58 | user = os.environ.get("SSH_HOST_USER", None) | 58 | user = os.environ.get("SSH_HOST_USER", None) |
59 | port = os.environ.get("SSH_HOST_PORT", None) | 59 | port = os.environ.get("SSH_HOST_PORT", None) |
60 | 60 | ||
61 | command = ["ssh", "-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no"] | 61 | command = ["ssh", "-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no", "-o", "LogLevel=quiet"] |
62 | if port: | 62 | if port: |
63 | command += ["-p", str(port)] | 63 | command += ["-p", str(port)] |
64 | if not host: | 64 | if not host: |