mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
c39ed80526
... and make test 1026 rely on that feature so that --disable-manual builds don't cause test failures. Reported-by: Max Dymond and Anders Roxell Fixes #2533 Closes #2540
43 lines
718 B
Plaintext
43 lines
718 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
--manual
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
manual
|
|
</features>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
curl --manual
|
|
</name>
|
|
<command>
|
|
--manual
|
|
</command>
|
|
# Search for these two sentinel lines in the manual output; if they are found,
|
|
# then chances are good the entire manual is there.
|
|
<postcheck>
|
|
perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(a\s*tool\s*to\s*transfer\s*data)|(mailing\s*lists\s*to\s*discuss\s*curl)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout1026
|
|
</postcheck>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
0
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|