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

Removed debug line

This commit is contained in:
deajan 2016-08-30 19:17:14 +02:00
parent 9da86de41e
commit e6be72f5a8
2 changed files with 9 additions and 9 deletions

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,14 +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"
TARGET_DIR_SQL_LOCAL="${HOME}/obackup-storage/sql" TARGET_DIR_SQL_LOCAL="$TARGET_DIR/sql"
TARGET_DIR_FILE_LOCAL="${HOME}/obackup-storage/files" TARGET_DIR_FILE_LOCAL="$TARGET_DIR/files"
TARGET_DIR_SQL_PULL="${HOME}/obackup-storage/sql-pull" TARGET_DIR_SQL_PULL="$TARGET_DIR/sql-pull"
TARGET_DIR_FILE_PULL="${HOME}/obackup-storage/files-pull" TARGET_DIR_FILE_PULL="$TARGET_DIR/files-pull"
TARGET_DIR_SQL_PUSH="${HOME}/obackup-storage/sql-push" TARGET_DIR_SQL_PUSH="$TARGET_DIR/sql-push"
TARGET_DIR_FILE_PUSH="${HOME}/obackup-storage/files-push" TARGET_DIR_FILE_PUSH="$TARGET_DIR/files-push"
SIMPLE_DIR="testData" SIMPLE_DIR="testData"
RECURSIVE_DIR="testDataRecursive" RECURSIVE_DIR="testDataRecursive"
@ -154,8 +154,9 @@ function test_SecondLocalRun () {
done done
[ -d "$TARGET_DIR_FILE_LOCAL/$(dirname $SOURCE_DIR).obackup.1" ] [ -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" $?
} }
function test_FirstPullRun () { function test_FirstPullRun () {
# Basic return code tests. Need to go deep into file presence testing # Basic return code tests. Need to go deep into file presence testing
cd "$OBACKUP_DIR" cd "$OBACKUP_DIR"

View File

@ -155,7 +155,6 @@ 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 $TARGET_DIR_FILE_LOCAL -alh
} }
function test_WaitForTaskCompletion () { function test_WaitForTaskCompletion () {