diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-30 17:23:00 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-30 17:23:00 +0300 |
commit | fdc979dafba2e12d2dc3d46de3b946d6943ed4a3 (patch) | |
tree | c31d046362988b682de3e9f661a466f6395ff66d /tests/init | |
parent | d40a31f3e1a16e30b46edfd8e903c92afa3d7124 (diff) | |
download | ck-fdc979dafba2e12d2dc3d46de3b946d6943ed4a3.tar.gz ck-fdc979dafba2e12d2dc3d46de3b946d6943ed4a3.tar.bz2 ck-fdc979dafba2e12d2dc3d46de3b946d6943ed4a3.zip |
More test optimisations
Diffstat (limited to 'tests/init')
-rwxr-xr-x | tests/init | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -8,13 +8,18 @@ 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." + echo -e $ERROR" Config file not created." exit 1 fi if [ ! -f $BIN/ckdb ]; then - echo -e $ERROR"DB file not created." + echo -e $ERROR" DB file not created." exit 1 fi |