]> git.ipfire.org Git - thirdparty/curl.git/commit
runtests: make 'oldlibssh' be before 0.9.4
authorPaul Howarth <paul@city-fan.org>
Sun, 6 Mar 2022 13:13:34 +0000 (13:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Mar 2022 07:59:03 +0000 (08:59 +0100)
commit4b01a57c95fd4c041dfa4a41834c761658ea89ee
tree5aa99d3fe173baaaade5d5cde4605ae788aa2e14
parent3beb82b850af0285bf46655f7fec7783d585e670
runtests: make 'oldlibssh' be before 0.9.4

The 'oldlibssh' feature indicates that the error code returned by libssh
for a broken known_hosts file should be 67 rather than 60 (test1459).
This feature was added as part of #8444 with 'oldlibssh' mapping to
libssh versions prior to 0.9.6, and then refined as part of #8511 to map
to versions prior to 0.9.5.

In Red Hat Enterprise Linux 8.5 there is a patched version of libssh
version 0.9.4 (https://git.centos.org/rpms/libssh/blob/c8/f/SOURCES) in
which test1459 fails because it returns the "new" value rather than the
"old" one. It's plausible that one of the patches is responsible for
this rather than the underlying code but I don't think so.

This change therefore drops the 'oldlibssh' version check to map to
libssh versions older than 0.9.4, which fixes builds on RHEL-8.

Closes #8548
tests/FILEFORMAT.md
tests/runtests.pl