From 0a44664d4e156f1f2fdd68a27380c09e967d1c37 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 24 Nov 2014 22:17:49 +0100 Subject: [PATCH] Fix test, do not depend on snapshots command --- test/test-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-backup.sh b/test/test-backup.sh index f5d938bab..d42dbe85a 100755 --- a/test/test-backup.sh +++ b/test/test-backup.sh @@ -3,6 +3,6 @@ set -e prepare run khepri init run khepri backup "${BASE}/fake-data" -run khepri restore "$(khepri snapshots)" "${BASE}/fake-data-restore" +run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore" dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data" cleanup