mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
Unify the case, punctuation and name of test case keywords so they can be more easily selected or skipped when desired. Add a few keywords that were missing. Fix a couple of typos in test names.
45 lines
735 B
Plaintext
45 lines
735 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
etag
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
Use --etag-compare and -save with more than one URL
|
|
</name>
|
|
<command>
|
|
http://example.com/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER --url http://example.net/fooo
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
<stderr mode="text">
|
|
curl: The etag options only work on a single URL
|
|
curl: option --url: 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>
|