From 3c4abfb5666c75e3e18ea99e3f92dddddfc476b9 Mon Sep 17 00:00:00 2001 From: gardners Date: Fri, 30 Nov 2012 15:06:31 +1030 Subject: [PATCH] improved and simplified test for rhizome http not running --- tests/rhizomeprotocol | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/rhizomeprotocol b/tests/rhizomeprotocol index 2ccea213..e3409f22 100755 --- a/tests/rhizomeprotocol +++ b/tests/rhizomeprotocol @@ -98,9 +98,7 @@ setup_DisablingHTTPServer() { start_servald_instances +A } test_DisablingHTTPServer() { - local _logvar=LOG${2#+} - local _port=$($SED -n -e '/RHIZOME HTTP SERVER.*START/s/.*port=\([0-9]\{1,\}\).*/\1/p' "${!_logvar}" | $SED -n '$p') - assert --message="instance $2 Rhizome HTTP server not started" [ ! -n "$_port" ] + !rhizome_http_server_started } doc_FileTransferBig="Big new bundle transfers to one node"