test686: verify return code for no URL after --next

This commit is contained in:
Daniel Stenberg 2023-02-21 12:12:06 +01:00
parent 60e13311f4
commit 0338eb85d3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 35 additions and 1 deletions

34
tests/data/test686 Normal file
View file

@ -0,0 +1,34 @@
<testcase>
<info>
<keywords>
errorcode
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
verify return code for missing URL after --next
</name>
<command>
htdhdhdtp://localhost --next
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>