aboutsummaryrefslogtreecommitdiffstats
path: root/test/02_list
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-19 19:11:06 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-19 19:11:06 +0200
commit78ee1c72c670a71bfd165448676fc65bff802916 (patch)
tree893b0f09dfc84f3fd7f1ac218213012f33d5b612 /test/02_list
parent84bbbb91c9154ca0b1c295eb7d1aa0de59450764 (diff)
downloadck-78ee1c72c670a71bfd165448676fc65bff802916.tar.gz
ck-78ee1c72c670a71bfd165448676fc65bff802916.tar.bz2
ck-78ee1c72c670a71bfd165448676fc65bff802916.zip
Add ability to use ck without secret dir
Diffstat (limited to 'test/02_list')
-rw-r--r--test/02_list27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/02_list b/test/02_list
deleted file mode 100644
index e330dad..0000000
--- a/test/02_list
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-init list
-
-# add configs to ck
-path1=$BIN/test1.conf
-path2=$BIN/test2.conf
-path3=$BIN/test3.conf
-
-add_config prog1 $path1
-add_config prog2 $path2
-add_config prog3 $path3
-
-for i in $($BIN/ck -c $BIN list paths); do
- if [[ "$i" != "$path1" ]] && [[ "$i" != "$path2" ]] && [[ "$i" != "$path3" ]]; then
- err "Listing paths"
- fi
-done
-
-for i in $($BIN/ck -c $BIN list programs); do
- if [[ "$i" != "prog1" ]] && [[ "$i" != "prog2" ]] && [[ "$i" != "prog3" ]]; then
- err "Listing programs"
- fi
-done
-
-clear_tests
-echo -e $PASS