improved and simplified test for rhizome http not running

This commit is contained in:
gardners 2012-11-30 15:06:31 +10:30
parent 9e29db827f
commit 3c4abfb566

View File

@ -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"