]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: capture stdin to get the vsftpd version number
authorDan Fandrich <dan@coneharvesters.com>
Sat, 12 Oct 2024 17:38:40 +0000 (10:38 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 16 Oct 2024 16:21:40 +0000 (09:21 -0700)
commit41c980bb0d94a4d11ced31772e0feef7db2d29cf
treea017365c2d4a0879dedc0a32b5b51ee0c299b188
parent6478a36b6676a913da3c47e2dd9abff4ccc70c43
tests: capture stdin to get the vsftpd version number

vsftpd 3.0 at least writes its version number to stdin (!) instead of
stderr. This works due for backwards compatibility reasons in UNIX, so
we must check stdin for anything written there to reliably parse the
version string.

Closes #15278
tests/http/testenv/env.py