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

Trying to diag Travis results

This commit is contained in:
deajan 2016-08-30 18:50:19 +02:00
parent 0cab87309f
commit 8cef797979

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## obackup test suite 2016083002 ## obackup test suite 2016083003
# Stupid and very basic tests v0.0000003-alpha-dev-pre-everything # Stupid and very basic tests v0.0000003-alpha-dev-pre-everything
OBACKUP_DIR="$(pwd)" OBACKUP_DIR="$(pwd)"
@ -13,17 +13,14 @@ OBACKUP_EXECUTABLE=obackup.sh
SOURCE_DIR="${HOME}/obackup-testdata" SOURCE_DIR="${HOME}/obackup-testdata"
TARGET_DIR="${HOME}/obackup-storage" TARGET_DIR="${HOME}/obackup-storage"
echo "$(dirname $SOURCE_DIR)" TARGET_DIR_SQL_LOCAL="$TARGET_DIR/sql"
exit TARGET_DIR_FILE_LOCAL="$TARGET_DIR/files"
TARGET_DIR_SQL_LOCAL="${HOME}/obackup-storage/sql" TARGET_DIR_SQL_PULL="$TARGET_DIR/sql-pull"
TARGET_DIR_FILE_LOCAL="${HOME}/obackup-storage/files" TARGET_DIR_FILE_PULL="$TARGET_DIR/files-pull"
TARGET_DIR_SQL_PULL="${HOME}/obackup-storage/sql-pull" TARGET_DIR_SQL_PUSH="$TARGET_DIR/sql-push"
TARGET_DIR_FILE_PULL="${HOME}/obackup-storage/files-pull" TARGET_DIR_FILE_PUSH="$TARGET_DIR/files-push"
TARGET_DIR_SQL_PUSH="${HOME}/obackup-storage/sql-push"
TARGET_DIR_FILE_PUSH="${HOME}/obackup-storage/files-push"
SIMPLE_DIR="testData" SIMPLE_DIR="testData"
RECURSIVE_DIR="testDataRecursive" RECURSIVE_DIR="testDataRecursive"
@ -158,7 +155,7 @@ function test_SecondLocalRun () {
[ -d "$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1" ] [ -d "$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1" ]
assertEquals "File rotated Presence [$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1]" "0" $? assertEquals "File rotated Presence [$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1]" "0" $?
ls -alh "$TARGET_DIR_FILE_LOCAL" ls $TARGET_DIR_FILE_LOCAL -alh
} }
function test_WaitForTaskCompletion () { function test_WaitForTaskCompletion () {