From 5371f859e98f53752dab717781edd819f353b594 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 30 Aug 2016 18:28:08 +0200 Subject: [PATCH] Test travis system --- dev/tests/run_travis_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/tests/run_travis_tests.sh b/dev/tests/run_travis_tests.sh index 275653a..d69d204 100755 --- a/dev/tests/run_travis_tests.sh +++ b/dev/tests/run_travis_tests.sh @@ -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 () {