blob: 9ea2f1c3b3a1a7c8835913d03343be8a5280cbb3 (
plain) (
tree)
|
|
#!/bin/bash
running init
mkdir -p $TEST_LOCATION/vc
mkdir $TEST_LOCATION/sec
exec $BIN/ck conf $BIN init $TEST_LOCATION/vc $TEST_LOCATION/sec > /dev/null &
wait $!
if [ $? -ne 0 ]; then
err "ck crashed."
fi
if [ ! -f $BIN/ckrc ]; then
err "Config file not created."
fi
if [ ! -f $BIN/ckdb ]; then
err "DB file not created."
fi
clear_tests 2&>1 /dev/null
echo -e $PASS
|