mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
test2036: verify -O with no slash at all in the URL
Similar to test 76 but that test's URL has a slash just no file name part.
This commit is contained in:
parent
b546c7c926
commit
bf7023d165
@ -138,7 +138,7 @@ test2000 test2001 test2002 test2003 test2004 test2005 test2006 test2007 \
|
||||
test2008 test2009 test2010 test2011 test2012 test2013 test2014 test2015 \
|
||||
test2016 test2017 test2018 test2019 test2020 test2021 test2022 test2023 \
|
||||
test2024 test2025 test2026 test2027 test2028 test2029 test2030 test2031 \
|
||||
test2032 test2033 test2034 test2035
|
||||
test2032 test2033 test2034 test2035 test2036
|
||||
|
||||
EXTRA_DIST = $(TESTCASES) DISABLED
|
||||
|
||||
|
39
tests/data/test2036
Normal file
39
tests/data/test2036
Normal file
@ -0,0 +1,39 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
</features>
|
||||
<name>
|
||||
HTTP, -O with no slash at all in the URL
|
||||
</name>
|
||||
<command option="no-output">
|
||||
%HOSTIP:%HTTPPORT -O
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<errorcode>
|
||||
23
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
Loading…
Reference in New Issue
Block a user