[tclwebtest] Bug in matching syntax of "link follow" and relative url construction
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-01-29 17:20:45
|
Hi. Looks like the absence of a selftest for "link follow ~c" has let this bug survive, the search is done in the full html instead of just the content. Besides, look at how the double slash confuses tclwebtest, it is a shorthand to avoid typing "http:", but tclwebtest constructs an incorrect relative url. [gradha@ws5:0] [~/tclwebtest]$ ./tclwebtest cus.txt ----- START: cus.txt at [29/ene/2003:18:14:07] ----- --- do_request for http://slashdot.org/topics.shtml http status: >>200<< --- do_request for http://slashdot.org/ http status: >>200<< <A HREF="//slashdot.org/search.pl?topic=126"><IMG SRC="//images.slashdot.org/topics/topictech2.gif" WIDTH="60" HEIGHT="80" BORDER="0" ALT="Technology"></A> --- do_request for http://slashdot.org//slashdot.org/search.pl?topic=126 http status: >>404<< do_request did not return a page. HTTP status is 404 in "cus.txt" line 8: link find ~c "topics" log [link get_full] link follow ~c "topics" ----- FAILED: cus.txt (took 40s) ----- DURATION: 40 1 of 1 tests FAILED: cus.txt -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |