]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test460: verify a command line using --expand with no argument
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 Dec 2023 08:52:24 +0000 (09:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 21 Dec 2023 14:27:12 +0000 (15:27 +0100)
This verifies the fix for #12565

tests/data/Makefile.inc
tests/data/test460 [new file with mode: 0644]

index 6d1a2ad13b62923c704d5408548b92c34549bf23..485472271e1b99edb0492a12c51ed247d7817925 100644 (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 \
 \
diff --git a/tests/data/test460 b/tests/data/test460
new file mode 100644 (file)
index 0000000..824166a
--- /dev/null
@@ -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>