Daniel Stenberg
3fd80c7b59
tests: remove leading spaces from some tags
...
The threee tags `<name>`, `</name>` and `<command>` were frequently used
with a leading space that this removes. The reason this habbit is so
widespread in testcases is probably that they have been copy and pasted.
Hence, fixing them all now might curb this practice from now on.
Closes #12028
2023-10-04 14:15:23 +02:00
Dan Fandrich
e7a021e135
tests: use %LOGDIR to refer to the log directory
...
This will allow it be set dynamically.
Ref: #10818
2023-03-30 09:53:57 -07:00
Daniel Stenberg
23540923e1
test1459: disable for oldlibssh
...
This test with libssh 0.9.3 works fine on github but fails on circleci.
Might as well disable this test for oldlibssh installations.
Closes #8622
2022-03-22 16:36:10 +01:00
Daniel Stenberg
bdc664a640
test1459: remove the different exit code for oldlibssh
...
When using libssh/0.9.3/openssl/zlib, we seem to be getting the "right"
error code.
Closes #8490
2022-03-21 17:41:30 +01:00
Daniel Stenberg
7c140f6b2d
runtests: set 'oldlibssh' for libssh versions before 0.9.6
...
... and make test 1459 check for the different return code then.
Closes #8444
2022-02-14 08:26:44 +01:00
Daniel Stenberg
e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
...
This makes the tests easier to copy and relocate to other test numbers
without having to update content.
Closes #6738
2021-03-19 15:57:21 +01:00
Jim Fuller
e96fe70cab
sftp: fix segfault regression introduced by #4747
...
This fix adds a defensive check for the case where the char *name in
struct libssh2_knownhost is NULL
Fixes #5041
Closes #5062
2020-03-09 15:01:40 +01:00