diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-11-13 13:22:53 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-11-13 13:22:53 +0200 |
commit | 6a43f7bfdfdb693e877943490abd5839a630ad9d (patch) | |
tree | 35c48a0acf80e6288aef952f93caac3195ba55ec /test/01_add | |
parent | d015a5e66ac9b92bba4eb5020e7bf2384f65ed25 (diff) | |
download | ck-6a43f7bfdfdb693e877943490abd5839a630ad9d.tar.gz ck-6a43f7bfdfdb693e877943490abd5839a630ad9d.tar.bz2 ck-6a43f7bfdfdb693e877943490abd5839a630ad9d.zip |
Fixed homedir with restore and updated delete
Diffstat (limited to 'test/01_add')
-rw-r--r-- | test/01_add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/01_add b/test/01_add index 1de64bf..5f156da 100644 --- a/test/01_add +++ b/test/01_add @@ -20,8 +20,8 @@ function run_add { if [ "$(sqlite3 $BIN/ckdb "select name from program where name = '$1'")" != "$1" ]; then err "$1 is not in the db." fi - - if [ "$(sqlite3 $BIN/ckdb "select path from config where path = '$BIN/$2'")" != "$BIN/$2" ]; then + + if [ "$($BIN/ck -c $BIN ls -p $1)" != "$BIN/$2" ]; then err "$2 is not in the db." fi |