test1427: verify command line parser integer overflow detection

This commit is contained in:
Daniel Stenberg 2017-08-06 21:33:25 +02:00
parent 5c7455fe76
commit 581011a3d2
2 changed files with 30 additions and 1 deletions

29
tests/data/test1427 Normal file
View 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>