mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
46 lines
801 B
Plaintext
46 lines
801 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>
|