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

View File

@ -72,7 +72,7 @@ test417 test418 test419 test420 test421 test422 test423 test424 test425 \
test426 test427 test428 test429 test430 test431 test432 test433 test434 \
test435 test436 test437 test438 test439 test440 test441 test442 test443 \
test444 test445 test446 test447 test448 test449 test450 test451 test452 \
test453 test454 test455 test456 test457 test458 test459 \
test453 test454 test455 test456 test457 test458 test459 test460 \
\
test490 test491 test492 test493 test494 test495 test496 test497 test498 \
\

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>