curl/0001-tests-3021-and-3022-require-libssh2.patch

46 lines
1.0 KiB
Diff

From 4825d0cd3af5a5e51bb5e045cb12283138620d0c Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Sat, 13 Nov 2021 23:10:42 +0100
Subject: [PATCH] test302[12]: run only with the libssh2 backend
... as the others don't support --hostpubsha256
Reported-by: Paul Howarth
Fixes #8009
Closes #8010
---
tests/data/test3021 | 4 ++++
tests/data/test3022 | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/tests/data/test3021 b/tests/data/test3021
index 0a02e18443e4..bd6ae8d6dc47 100644
--- a/tests/data/test3021
+++ b/tests/data/test3021
@@ -17,6 +17,10 @@ test
#
# Client-side
<client>
+# so far only the libssh2 backend supports SHA256
+<features>
+libssh2
+</features>
<server>
sftp
</server>
diff --git a/tests/data/test3022 b/tests/data/test3022
index f3477909d698..db24ca9f4a01 100644
--- a/tests/data/test3022
+++ b/tests/data/test3022
@@ -17,6 +17,10 @@ test
#
# Client-side
<client>
+# so far only the libssh2 backend supports SHA256
+<features>
+libssh2
+</features>
<server>
scp
</server>