1
0
mirror of https://github.com/deajan/obackup.git synced 2024-12-25 15:03:41 +01:00

Test travis system

This commit is contained in:
deajan 2016-08-30 18:28:08 +02:00
parent c8e73d152f
commit 5371f859e9

View File

@ -13,6 +13,9 @@ OBACKUP_EXECUTABLE=obackup.sh
SOURCE_DIR="${HOME}/obackup-testdata"
TARGET_DIR="${HOME}/obackup-storage"
echo "$(dirname $SOURCE_DIR)"
exit
TARGET_DIR_SQL_LOCAL="${HOME}/obackup-storage/sql"
TARGET_DIR_FILE_LOCAL="${HOME}/obackup-storage/files"
@ -154,7 +157,8 @@ function test_SecondLocalRun () {
done
[ -d "$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1" ]
assertEquals "File rotated Presence" "0" $?
assertEquals "File rotated Presence [$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1]" "0" $?
ls -alh "$TARGET_DIR_FILE_LOCAL"
}
function test_WaitForTaskCompletion () {