mirror of
https://github.com/curl/curl.git
synced 2026-04-13 00:31:41 +08:00
To make it uniform in all tests, and greppability. Also: - replace `-k` flag with `-q` in test 1268. (the actual flag doesn't matter in this test) - keep `-k` in test 300 to test its short form. (also verified to fail without a working `-k`) Closes #16878
44 lines
502 B
Plaintext
44 lines
502 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
GOPHER
|
|
GOPHERS
|
|
INDEX
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
iMenu results error.host 1
|
|
0Selector /bar bar.foo.invalid 70
|
|
.
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
gophers
|
|
</server>
|
|
<killserver>
|
|
gophers
|
|
</killserver>
|
|
<name>
|
|
Gophers index
|
|
</name>
|
|
<command>
|
|
--insecure gophers://%HOSTIP:%GOPHERSPORT/1/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
/%TESTNUMBER
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|