aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 14:10:52 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 14:10:52 +0300
commitd202883e6d642ba5a973996654cfed674420da22 (patch)
tree498b07bbba9d16a76cf06d84e45929540222dc87 /tests/init
parenta0db476bed7d7b814c426d23b55a74d585a6d8cb (diff)
downloadck-d202883e6d642ba5a973996654cfed674420da22.tar.gz
ck-d202883e6d642ba5a973996654cfed674420da22.tar.bz2
ck-d202883e6d642ba5a973996654cfed674420da22.zip
Update regression tests
Diffstat (limited to 'tests/init')
-rwxr-xr-xtests/init29
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