-# test02.sh - test start and stop of the server with -S
+#!/bin/sh
+# $Id: stop02.sh,v 1.2 2003-05-06 17:39:01 adam Exp $
+# test start and stop of the server with -S
#
# FIXME - this test does not currently pass (H 22-oct-2002)
# Something rotten with signals and threads and mutexes...
echo " killing it..."
kill $PID
+sleep 1
echo " checking that it is dead..."
ps -p $PID >/dev/null && exit 1