aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test75
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-30 20:15:33 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-30 20:15:33 +0000
commit5187faeeb97321343cd0a1f3ad9aa10992513e99 (patch)
treebb96009d55f96c9b05c032982c14abb31e775270 /tests/data/test75
parent1228ec9fbb7db2d6f1615e8736be66d5c6f698d2 (diff)
Improved the test harness to allow running test servers on other than
the default port numbers, allowing more than one test suite to run simultaneously on the same host.
Diffstat (limited to 'tests/data/test75')
-rw-r--r--tests/data/test755
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/test75 b/tests/data/test75
index f0309e8f4..63695f500 100644
--- a/tests/data/test75
+++ b/tests/data/test75
@@ -26,6 +26,11 @@ HTTP, urlglob retrieval with bad range
<command option="no-output">
"http://%HOSTIP:%HTTPPORT/[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.
+<precheck>
+perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
+</precheck>
</client>
#