Commit e235dcb6 authored by Shane Snyder's avatar Shane Snyder

get the connect test to start servers

parent 106bd3b1
#!/bin/bash -x
if [ -z $srcdir ]; then
echo srcdir variable not set.
exit 1
fi
if [ -z "$MKTEMP" ] ; then
echo expected MKTEMP variable defined to its respective command
exit 1
fi
source $srcdir/tests/mobject-test-util.sh
TEST_DIR=`$MKTEMP -d /tmp/mobject-connect-test-XXXXXX`
CLUSTER_GID_FILE=$TEST_DIR/cluster.gid
# start 1 server with 2 second wait, 20s timeout
mobject_test_start_servers 1 2 20 $CLUSTER_GID_FILE
wait
# cleanup
rm -rf $TEST_DIR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment