From 6a43f7bfdfdb693e877943490abd5839a630ad9d Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 13 Nov 2018 13:22:53 +0200 Subject: Fixed homedir with restore and updated delete --- test/01_add | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/01_add') 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 -- cgit v1.2.3