mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
3fd80c7b59
The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
46 lines
798 B
Plaintext
46 lines
798 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
getdate
|
|
unittest
|
|
</keywords>
|
|
</info>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
|
|
<name>
|
|
curl_getdate() testing
|
|
</name>
|
|
<command>
|
|
nothing
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<stdout>
|
|
</stdout>
|
|
|
|
# This test case previously tested an overflow case ("2094 Nov 6 =>
|
|
# 2147483647") for 32bit time_t, but since some systems have 64bit time_t and
|
|
# handles this (returning 3939840000), and some 64bit-time_t systems don't
|
|
# handle this and return -1 for this, it turned very tricky to write a fine
|
|
# test case and thus it is now removed until we have a way to write test cases
|
|
# for this kind of things.
|
|
|
|
</verify>
|
|
</testcase>
|