aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests.sh b/tests.sh
index b12a32a..fc6a692 100755
--- a/tests.sh
+++ b/tests.sh
@@ -5,6 +5,8 @@
source server.sh
+VERBOSE=1
+
WORLD_NAME="test_world"
function test_backend() {
@@ -53,6 +55,8 @@ function test_backend() {
exit
fi
+ ls_backups
+
# corrupting current (new) world
find "$DIR/$WORLD_NAME" -type f -exec shred {} \;
@@ -102,13 +106,13 @@ function test_backend() {
cleanup
}
-echo "Testing tar backend"
+printf "\n\n\nTesting tar backend\n"
test_backend "tar"
-echo "Testing bup backend"
+printf "\n\n\nTesting bup backend\n"
test_backend "bup"
-echo "Testing borg backend"
+printf "\n\n\nTesting borg backend\n"
test_backend "borg"
-echo "All tests passed"
+printf "\n\n\nAll tests passed\n"