mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
- build: fix to exclude 'documentation' tests when building the documentation is explicitly disabled. Both for cmake and `./configure`. Reported-by: Daniel Engberg Fixes #15703 - test481, test482: fix for builds with no manual. Reported-by: Daniel Engberg Fixes #15703 - configure: fix to always detect Perl. Running tests require it when run. Before this patch Perl wasn't detected when documentation/manual/embedded-CA were all disabled, making tests fail to start. - test1177: add keyword `documentation`. It depends no `curl_version_info.3`. - GHA/linux: test cmake and `./configure` with docs and manual disabled and tests run. Closes #15704
46 lines
736 B
Plaintext
46 lines
736 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
--remove-on-error
|
|
--continue-at
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
--remove-on-error with --continue-at
|
|
</name>
|
|
<command option="no-output,no-include">
|
|
http://non-existing-host.haxx.se. --remove-on-error -C 1 -o "%LOGDIR/%TESTNUMBER"
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
<stderr mode="text">
|
|
curl: --continue-at is mutually exclusive with --remove-on-error
|
|
curl: option -C: is badly used here
|
|
%if manual
|
|
curl: try 'curl --help' or 'curl --manual' for more information
|
|
%else
|
|
curl: try 'curl --help' for more information
|
|
%endif
|
|
</stderr>
|
|
</verify>
|
|
</testcase>
|