runtests: set 'oldlibssh' for libssh versions before 0.9.6

... and make test 1459 check for the different return code then.

Closes #8444
This commit is contained in:
Daniel Stenberg 2022-02-13 11:12:56 +01:00
parent 30b6896058
commit 7c140f6b2d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 16 additions and 1 deletions

View file

@ -35,8 +35,13 @@ CURL_HOME=%PWD/log/test%TESTNUMBER.dir
# Verify data after the test has been "shot"
<verify>
# old libssh installs return the wrong thing
<errorcode>
%if oldlibssh
67
%else
60
%endif
</errorcode>
<valgrind>
disable