aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/init')
-rwxr-xr-xsrc/tests/init23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tests/init b/src/tests/init
deleted file mode 100755
index 4f78802..0000000
--- a/src/tests/init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-BIN=/build/ck
-
-TEST_LOCATION=@PROJECT_TESTING_GROUNDS@
-mkdir -p $TEST_LOCATION/vc
-mkdir $TEST_LOCATION/sec
-
-exec $BIN/ck init $TEST_LOCATION/vc $TEST_LOCATION/sec &
-wait $!
-
-if [ ! -f ~/.ck/ckrc ]; then
- echo -e $ERROR"Config file not created."
- exit 1
-fi
-
-if [ ! -f ~/.ck/ckdb ]; then
- echo -e $ERROR"DB file not created."
- exit 1
-fi
-
-rm -rf $HOME/.ck
-rm -rf $TEST_LOCATION
-echo -e $PASS