blob: 44a814320088de62486f5d1e2857c57366583728 (
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 &
wait $!
if [ ! -f $BIN/ckrc ]; then
echo -e $ERROR"Config file not created."
exit 1
fi
if [ ! -f $BIN/ckdb ]; then
echo -e $ERROR"DB file not created."
exit 1
fi
rm $BIN/ckrc
rm $BIN/ckdb
rm -rf $TEST_LOCATION
echo -e $PASS
|