diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2023-07-27 00:22:06 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-08-15 06:18:49 -1000 |
| commit | a5116b5c3a592a971c1a586605751ca40a4e6448 (patch) | |
| tree | d94d7450ad27a7235da61e7adbafdc06dc211b60 | |
| parent | 8c04824e5436dfd126d16a00294e2fe4a107db33 (diff) | |
| download | poky-a5116b5c3a592a971c1a586605751ca40a4e6448.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: dddbca01474f89fade197cd3284671c859d01108)
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>
| -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: |
