From d202883e6d642ba5a973996654cfed674420da22 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Sun, 7 Oct 2018 14:10:52 +0300 Subject: Update regression tests --- res/check_ck | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'res/check_ck') diff --git a/res/check_ck b/res/check_ck index f8b3a1a..d4683ce 100755 --- a/res/check_ck +++ b/res/check_ck @@ -18,6 +18,17 @@ function init { wait $! } +function add_config { + echo -e "test $2\n$3" > $2 + exec $BIN/ck -c $BIN -a $1 $2 > /dev/null & + wait $! + + if [ $? -ne 0 ]; then + echo -e $ERROR" ck crashed." + exit 1 + fi +} + function clear_tests { rm $BIN/ckrc rm $BIN/ckdb -- cgit v1.2.3