mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:53:33 +03:00
test1427: verify command line parser integer overflow detection
This commit is contained in:
parent
5c7455fe76
commit
581011a3d2
2 changed files with 30 additions and 1 deletions
29
tests/data/test1427
Normal file
29
tests/data/test1427
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
integer overflow
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
too large -m timeout value
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1427 -m 184467440737095510
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
2
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue