Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make a test case for doubles, seems to be working.

  • Loading branch information...
commit f10fd45d7d587ee72f6e6ac050f99bfeaf21ee07 1 parent e2b21a8
@maxtaco maxtaco authored
View
8 test/regtest/cases/122.py
@@ -0,0 +1,8 @@
+desc = "testing cgi input of doubles"
+
+d = 1.25
+f = 3.75
+
+filedata = "${d} ${f}"
+script_path = "double?file=$[0]&d=%f&f=%f" % (d,f)
+outcome = "%0.2f %0.2f" % (d, f)
View
9 test/system/Makefile.am
@@ -34,22 +34,25 @@ endif
TAMEIN = configtest.T simple.T xmlex.T static.T form.T cookie.T \
post.T upload.T purify.T purify_lib.T forloop.T reflect.T \
- objtest.T timer.T objtest2.T errortest.T slow.T cpubomb.T
+ objtest.T timer.T objtest2.T errortest.T slow.T cpubomb.T \
+ double.T
TAMEOUT = configtest.C simple.C xmlex.C static.C form.C cookie.C \
post.C upload.C purify.C purify_lib.C forloop.C reflect.C \
- objtest.C timer.C objtest2.C errortest.C slow.C cpubomb.C
+ objtest.C timer.C objtest2.C errortest.C slow.C cpubomb.C \
+ double.C
SUBDIRS = $(XML_SUBDIRS) 3tier
okwssvc_PROGRAMS = static configtest simple form cookie \
post upload $(XMLPROGS) posttest forloop reflect objtest \
- timer objtest2 errortest slow encoder cpubomb
+ timer objtest2 errortest slow encoder cpubomb double
okwsconf_DATA = okws.crt.dist okws.key.dist
static_SOURCES = static.C okclib.C
configtest_SOURCES = configtest.C
simple_SOURCES = simple.C
+double_SOURCES = double.C
form_SOURCES = form.C
post_SOURCES = post.C
cookie_SOURCES = cookie.C
View
1  test/system/okws_config.in
@@ -31,6 +31,7 @@ Alias /static /
Service configtest /configtest
Service simple /simple
+Service double /double
Service pub1tst /pub1tst
Service form /form
Service cookie -n3 /cookie
Please sign in to comment.
Something went wrong with that request. Please try again.