summaryrefslogtreecommitdiff
path: root/tests/data/test75
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-06 23:27:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-06 23:27:47 +0200
commit9fa42beddc5e1f469ddf276a0715f2de82f51b6b (patch)
treea0e931fbab685c91e181c44e8531a4f9c034b26d /tests/data/test75
parentd6cda9e8ababe633f4b0b58776b1a9c4534e8095 (diff)
downloadcurl-9fa42beddc5e1f469ddf276a0715f2de82f51b6b.tar.gz
urlglob: improved error messages and column number on bad use
Introduce a convenience macro and keep of the column better so that it can point out the offending column better. Updated test 75 accordingly.
Diffstat (limited to 'tests/data/test75')
-rw-r--r--tests/data/test754
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test75 b/tests/data/test75
index 07f6990b7..a9f4d166e 100644
--- a/tests/data/test75
+++ b/tests/data/test75
@@ -24,7 +24,7 @@ http
HTTP, urlglob retrieval with bad range
</name>
<command option="no-output">
-"http://%HOSTIP:%HTTPPORT/[2-1]" -o "log/weee#1.dump" --stderr -
+"http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr -
</command>
# The error message on stdout implicitly depends on the length of the
# URL, so refuse to run if the length is unexpected.
@@ -43,7 +43,7 @@ perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
3
</errorcode>
<stdout mode="text">
-curl: (3) [globbing] error: bad range specification after pos 24
+curl: (3) [globbing] bad range in column 47
</stdout>
</verify>
</testcase>