diff options
Diffstat (limited to 'tests/curl/driver.cxx')
-rw-r--r-- | tests/curl/driver.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/curl/driver.cxx b/tests/curl/driver.cxx index 72faf52..4cf1815 100644 --- a/tests/curl/driver.cxx +++ b/tests/curl/driver.cxx @@ -104,6 +104,13 @@ http () c.out.close (); assert (!c.wait ()); } + + // POST from /dev/null. + // + { + curl c (p, nullfd, 1, 2, curl::post, u + "/bogus"); + assert (!c.wait ()); + } } int |