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

View file

@ -96,7 +96,7 @@ test643 test644 test645 test646 test647 test648 test649 test650 test651 \
test652 test653 test654 test655 test656 test658 test659 test660 test661 \
test662 test663 test664 test665 test666 test667 test668 test669 \
test670 test671 test672 test673 test674 test675 test676 test677 test678 \
test679 test680 test681 test682 test683 test684 test685 \
test679 test680 test681 test682 test683 test684 test685 test686 \
\
test700 test701 test702 test703 test704 test705 test706 test707 test708 \
test709 test710 test711 test712 test713 test714 test715 test716 test717 \

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>