aboutsummaryrefslogtreecommitdiffstats
path: root/tests/04_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/04_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/04_search')
-rw-r--r--tests/04_search2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/04_search b/tests/04_search
index a72d97a..9f3d2e5 100644
--- a/tests/04_search
+++ b/tests/04_search
@@ -15,7 +15,7 @@ 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."
+ err "search failed."
fi
clear_tests