Add dirdiff to tests

This commit is contained in:
Alexander Neumann
2014-08-06 20:09:51 +02:00
parent 017426467b
commit d60828fc15
3 changed files with 22 additions and 20 deletions
+5 -3
View File
@@ -1,5 +1,7 @@
set -e
prepare
run k backup "${BASE}/fake-data"
run k restore "$(k list ref)" "${BASE}/fake-data-restore"
diff -aur "${BASE}/fake-data" "${BASE}/fake-data-restore"
run khepri backup "${BASE}/fake-data"
run khepri restore "$(khepri list ref)" "${BASE}/fake-data-restore"
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore"
cleanup