From 9fa42beddc5e1f469ddf276a0715f2de82f51b6b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 6 Sep 2013 23:27:47 +0200 Subject: 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. --- tests/data/test75 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data') 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 -"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 - # 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 -curl: (3) [globbing] error: bad range specification after pos 24 +curl: (3) [globbing] bad range in column 47 -- cgit v1.2.3