aboutsummaryrefslogtreecommitdiffstats
path: root/tests/05_search
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 16:20:40 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 16:20:40 +0300
commit5abff8c6661fd09180b0ec93cf4516d9993a1488 (patch)
tree2825b7d8e470d2d00ff7886b2d1731cec3a09942 /tests/05_search
parentd202883e6d642ba5a973996654cfed674420da22 (diff)
downloadck-5abff8c6661fd09180b0ec93cf4516d9993a1488.tar.gz
ck-5abff8c6661fd09180b0ec93cf4516d9993a1488.tar.bz2
ck-5abff8c6661fd09180b0ec93cf4516d9993a1488.zip
Add error function to reg tests and clean some clutter
Diffstat (limited to 'tests/05_search')
-rw-r--r--tests/05_search23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/05_search b/tests/05_search
deleted file mode 100644
index 82772b3..0000000
--- a/tests/05_search
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-init search
-
-# setup test configs
-path1=$BIN/test1.conf
-path2=$BIN/test2.conf
-path3=$BIN/test3.conf
-path4=$BIN/test4.conf
-
-add_config prog1 $path1 "search-term"
-add_config prog1 $path2 "search-term"
-add_config prog2 $path3 "search-term"
-add_config prog3 $path4 "search-term"
-
-# delete path1
-if [[ $($BIN/ck conf $BIN search search-term | wc -l) != 4 ]]; then
- echo -e $ERROR" search failed."
-fi
-done
-
-clear_tests
-echo -e $PASS