diff options
Diffstat (limited to 'tests/init')
-rwxr-xr-x | tests/init | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/init b/tests/init deleted file mode 100755 index 015b709..0000000 --- a/tests/init +++ /dev/null @@ -1,29 +0,0 @@ -#!/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 [ $? -ne 0 ]; then - echo -e $ERROR" ck crashed." - exit 1 -fi - -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 |