diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-07 16:20:40 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-07 16:20:40 +0300 |
commit | 5abff8c6661fd09180b0ec93cf4516d9993a1488 (patch) | |
tree | 2825b7d8e470d2d00ff7886b2d1731cec3a09942 /tests/02_list | |
parent | d202883e6d642ba5a973996654cfed674420da22 (diff) | |
download | ck-5abff8c6661fd09180b0ec93cf4516d9993a1488.tar.gz ck-5abff8c6661fd09180b0ec93cf4516d9993a1488.tar.bz2 ck-5abff8c6661fd09180b0ec93cf4516d9993a1488.zip |
Add error function to reg tests and clean some clutter
Diffstat (limited to 'tests/02_list')
-rw-r--r-- | tests/02_list | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/02_list b/tests/02_list index 014ae62..35bf1ee 100644 --- a/tests/02_list +++ b/tests/02_list @@ -2,11 +2,6 @@ init list -# setup test configs -echo "Test 1" > $BIN/test1.conf -echo "Test 2" > $BIN/test2.conf -echo "Test 3" > $BIN/test3.conf - # add configs to ck path1=$BIN/test1.conf path2=$BIN/test2.conf @@ -18,13 +13,13 @@ add_config prog3 $path3 for i in $($BIN/ck conf $BIN list paths); do if [[ "$i" != "$path1" ]] && [[ "$i" != "$path2" ]] && [[ "$i" != "$path3" ]]; then - echo "path good"; + err "Listing paths" fi done for i in $($BIN/ck conf $BIN list programs); do if [[ "$i" != "prog1" ]] && [[ "$i" != "prog2" ]] && [[ "$i" != "prog3" ]]; then - echo "program good"; + err "Listing programs" fi done |