diff options
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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" |