From 1c4663bc42985fd8fbd959bd9516d5ef77dae612 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 12 Jul 2012 00:32:23 +0200 Subject: tests: verify the stricter numeric option parser Test 1409 and 1410 verifies the stricter numeric option parser introduced the other day in commit f2b6ebed7b. --- tests/data/Makefile.am | 2 +- tests/data/test1409 | 30 ++++++++++++++++++++++++++++++ tests/data/test1410 | 30 ++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1409 create mode 100644 tests/data/test1410 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 1170a15db..372f127d8 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -92,7 +92,7 @@ test1371 test1372 test1373 test1374 test1375 test1376 test1377 test1378 \ test1379 test1380 test1381 test1382 test1383 test1384 test1385 test1386 \ test1387 test1388 test1389 test1390 test1391 test1392 test1393 \ test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \ -test1408 \ +test1408 test1409 test1410 \ test2000 test2001 test2002 test2003 test2004 test2005 test2006 test2007 \ test2008 test2009 test2010 test2011 test2012 test2013 test2014 test2015 \ test2016 test2017 test2018 test2019 test2020 test2021 test2022 diff --git a/tests/data/test1409 b/tests/data/test1409 new file mode 100644 index 000000000..180e03ad1 --- /dev/null +++ b/tests/data/test1409 @@ -0,0 +1,30 @@ + + + +cmdline + + + + +# +# Client-side + + +none + + +Pass in string to -C + + +http://%HOSTIP:%HTTPPORT/1409 -C wrong + + + +# +# Verify data after the test has been "shot" + + +2 + + + diff --git a/tests/data/test1410 b/tests/data/test1410 new file mode 100644 index 000000000..bcc78a856 --- /dev/null +++ b/tests/data/test1410 @@ -0,0 +1,30 @@ + + + +cmdline + + + + +# +# Client-side + + +none + + +Pass in negative number to --max-time + + +http://%HOSTIP:%HTTPPORT/1410 --max-time -4 + + + +# +# Verify data after the test has been "shot" + + +2 + + + -- cgit v1.2.3