From 6606bc73d8cc8de1d6b1ff2c9228c4f094bce760 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Thu, 3 Jul 2003 01:14:47 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1643 --- test/test_sanity.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_sanity.py b/test/test_sanity.py index 659c67293a..0fcf004f5b 100755 --- a/test/test_sanity.py +++ b/test/test_sanity.py @@ -15,6 +15,8 @@ def read_url(url, quiet=False): except IOError, e: if not quiet: error("couldn't access url: %s %s" % (url, e)) + else: + verbose_echo(2, "couldn't access url: %s %s" % (url, e)) return '' if __name__ == '__main__': @@ -56,7 +58,7 @@ if __name__ == '__main__': else: proxy.stop() - proxy = Proxy('exit 1 if $nconnections < 2; if_done_kill(); if_done_ping();') + proxy = Proxy('close_connection if $nconnections < 2') if read_url(html_proxy_url, quiet=True): error("Proxy should have closed connection #1") if read_url(html_proxy_url) != magic: