Re: Make check and htdig warnings
Lachlan Andrew <[email protected]>
| Newsgroups | gmane.comp.web.htdig.devel |
|---|---|
| Organization | sourceforge |
| Message-ID | <[email protected]> |
Greetings Joe, I think that the attached patch should fix it. If so, I'll have to work out why t_htdig_local *was* working... Thanks, Lachlan On Tue, 22 Jun 2004 09:34 am, Joe R. Jah wrote: > url_rewrite_rules: (.*)si[a-z]*[4-9]*\.([a-z]*)tml file:////tmp/htdig-3.2.0b6/test/htdocs/set1/site4.\\2tml -- [email protected] ht://Dig developer DownUnder (http://www.htdig.org)
three-slash
(text/x-diff, 1.1 KB)
--- t_htdig.orig 2004-06-23 22:58:22.000000000 +1000
+++ t_htdig 2004-06-23 23:08:48.000000000 +1000
@@ -111,11 +111,11 @@
# common_url_parts is case sensitive, despite case_sensitive=false
set_attr common_url_parts "http:// http://local HTTP://LocalHost 7400/set1"
# Replace site4.html by a file:/// URL. Must explicitly add leading chars
-set_attr url_rewrite_rules '(.*)si[a-z]*[4-9]*\.([a-z]*)tml file:///'$PWD'/htdocs/set1/site4.\\2tml'
+set_attr url_rewrite_rules '(.*)si[a-z]*[4-9]*\.([a-z]*)tml file://'$testdir'/htdocs/set1/site4.\\2tml'
set_attr limit_urls_to '${start_url} site4.html'
try $conf \
-'file://'$PWD'/htdocs/set1/site4.html
+'file://'$testdir'/htdocs/set1/site4.html
http://localhost:7400/set1/
http://localhost:7400/set1/bad_local.htm
http://localhost:7400/set1/script.html
@@ -138,7 +138,7 @@
dummy2host:dummy4/sub%2520dir/
dummy2host:dummy4/sub%2520dir/empty%20file.html
dummy2host:dummy4/title.html
-file://'$PWD'/htdocs/set1/site4.html'
+file://'$testdir'/htdocs/set1/site4.html'
if [ "$expected" != "$got" ]
then
fail "running htdig: expected