diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2023-07-27 00:22:06 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-09-15 03:47:11 -1000 |
commit | c3d7af5d16e37d8b6e2a0408b259d675a9ec9013 (patch) | |
tree | f5570f8fdd100c80d361269e9da866061c713732 /meta/recipes-core/glibc/glibc/check-test-wrapper | |
parent | a0615a08c5abd4cd5aeb9d5f1c05280fbb79caf2 (diff) | |
download | poky-c3d7af5d16e37d8b6e2a0408b259d675a9ec9013.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: 781c52bb8f9ffe6aeb456fb0c0d628917641fb22)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63b31ff7e54a171c4c02fca2e6b07aec64a410af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/check-test-wrapper')
-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: |