annotate tests/0013/run-test.sh @ 87:e64a2e7f543c

Initial web services startup / shutdown test. The test framework could definitely do with work here; the server process must run in the background, so there are race conditions both on startup and shutdown. The current workaround is "sleep 1", which is both inelegant and slow.
author mas01cr
date Tue, 02 Oct 2007 15:28:11 +0000
parents
children
rev   line source
mas01cr@87 1 #! /bin/bash
mas01cr@87 2
mas01cr@87 3 . ../test-utils.sh
mas01cr@87 4
mas01cr@87 5 start_server ${AUDIODB} 10013
mas01cr@87 6
mas01cr@87 7 check_server $!
mas01cr@87 8
mas01cr@87 9 stop_server $!
mas01cr@87 10
mas01cr@87 11 exit 104