test460: verify a command line using --expand with no argument

This verifies the fix for #12565
This commit is contained in:
Daniel Stenberg 2023-12-21 09:52:24 +01:00
parent d187f51948
commit ff41ac8ca2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 29 additions and 1 deletions

28
tests/data/test460 Normal file
View file

@ -0,0 +1,28 @@
<testcase>
<info>
<keywords>
variables
expand
</keywords>
</info>
# Client-side
<client>
<server>
none
</server>
<name>
try --expand without an argument
</name>
<command>
--expand-url
</command>
</client>
#
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>