Change #286606
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Sat 17 Oct 2026 02:14:18 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | eaa9103225bff16bdf1bb2842f312897b1342e85 |
Comments
runtests: retrieve curl version without using disk files Prior to this patch runtests was determining curl version and build details by saving stdout and stderr output to disk file and re-reading from there to parse and output to log. Simplify by reading stdout+ stderr directly into memory instead. Also avoids touching the disk, and no longer needs a `log` directory present. Also: - pass `--disable` alongside `--version` to prevent parsing `.curlrc` with potential extra output or side-effect. Ref: https://perldoc.perl.org/perlop#%60STRING%60 Ref: #23424 Follow-up to 93d59520e44915d6cd5f60db4a200d6882a5c678 Closes #23442
Changed files
- tests/runtests.pl