mirror of
https://github.com/curl/curl.git
synced 2026-05-16 23:26:21 +03:00
This now points to where the duplicate name ends, not where it starts. Also fixes test 2410 to use a fixed hostname so that the error position remains the same. Reported-by: Viktor Szakats Fixes #21567 Closes #21568
34 lines
594 B
XML
34 lines
594 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
globbing
|
|
{} list
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
|
|
# Client-side
|
|
<client>
|
|
<name>
|
|
duplicate named glob
|
|
</name>
|
|
<command option="no-output">
|
|
"https://dummy.example/{%LTtest%GTA,B}{%LTtest%GTC,D}" -o "%LOGDIR/dump"
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<stderr mode="text">
|
|
curl: (3) Duplicate glob name in position 40:
|
|
https://dummy.example/{%LTtest%GTA,B}{%LTtest%GTC,D}
|
|
^
|
|
</stderr>
|
|
<errorcode>
|
|
3
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|