From f1e18836090562053d6c783153560a6ab6c2b523 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 17 Nov 2016 12:43:18 +0100 Subject: [PATCH] Reenabled all tests :) --- dev/tests/run_tests.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 244fbef..8fee662 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -200,7 +200,7 @@ function test_Merge () { SetConfFileValue "$OSYNC_DIR/$OSYNC_EXECUTABLE" "IS_STABLE" "yes" } -function nope_test_LargeFileSet () { +function test_LargeFileSet () { for i in "${osyncParameters[@]}"; do cd "$OSYNC_DIR" @@ -218,7 +218,7 @@ function nope_test_LargeFileSet () { done } -function nope_test_Exclusions () { +function test_Exclusions () { # Will sync except php files # RSYNC_EXCLUDE_PATTERN="*.php" is set at runtime for quicksync and in config files for other runs @@ -247,7 +247,7 @@ function nope_test_Exclusions () { done } -function nope_test_Deletetion () { +function test_Deletetion () { local iFile1="$INITIATOR_DIR/ific" local iFile2="$INITIATOR_DIR/ifoc" local tFile1="$TARGET_DIR/tfic" @@ -291,7 +291,7 @@ function nope_test_Deletetion () { done } -function nope_test_deletion_failure () { +function test_deletion_failure () { if [ "$TRAVIS_RUN" == true ]; then echo "Skipping deletionFailure tests as travis does not support chattr." @@ -358,7 +358,7 @@ function nope_test_deletion_failure () { done } -function nope_test_skip_deletion () { +function test_skip_deletion () { local skipDeletionLocal local skipDeletionRemote local modes @@ -435,7 +435,7 @@ function nope_test_skip_deletion () { SetConfFileValue "$CONF_DIR/$REMOTE_CONF" "SKIP_DELETION" "$skipDeletionRemote" } -function nope_test_softdeletion_cleanup () { +function test_softdeletion_cleanup () { declare -A files files[deletedFileInitiator]="$INITIATOR_DIR/$OSYNC_DELETE_DIR/someDeletedFileInitiator" @@ -490,7 +490,7 @@ function nope_test_softdeletion_cleanup () { } -function nope_test_FileAttributePropagation () { +function test_FileAttributePropagation () { if [ "$TRAVIS_RUN" == true ]; then echo "Skipping FileAttributePropagation tests as travis does not support getfacl / setfacl." @@ -545,7 +545,7 @@ function nope_test_FileAttributePropagation () { done } -function nope_test_ConflictBackups () { +function test_ConflictBackups () { for i in "${osyncParameters[@]}"; do cd "$OSYNC_DIR" PrepareLocalDirs @@ -581,7 +581,7 @@ function nope_test_ConflictBackups () { done } -function nope_test_MultipleConflictBackups () { +function test_MultipleConflictBackups () { local conflictBackupMultipleLocal local conflictBackupMultipleRemote @@ -756,7 +756,7 @@ function test_Locking () { SetConfFileValue "$CONF_DIR/$REMOTE_CONF" "FORCE_STRANGER_LOCK_RESUME" "$forceStrangerUnlockRemote" } -function nope_test_WaitForTaskCompletion () { +function test_WaitForTaskCompletion () { if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping WaitForTaskCompletion test because osync v1.1 does not support multiple pid monitoring" return 0 @@ -811,7 +811,7 @@ function nope_test_WaitForTaskCompletion () { assertEquals "WaitForTaskCompletion test 5" "2" $? } -function nope_test_ParallelExec () { +function test_ParallelExec () { if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping ParallelExec test because osync v1.1 didn't have this" return 0 @@ -860,7 +860,7 @@ function nope_test_ParallelExec () { } -function nope_test_UpgradeConfRun () { +function test_UpgradeConfRun () { if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping Upgrade script test because no further dev will happen on this for v1.1" return 0