From ddd2e482aeb604d302308c69c2fadf9ddafbce8a Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 16 Nov 2016 00:47:27 +0100 Subject: [PATCH] Fixed tests depending on minor version --- dev/tests/run_tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index a939dc4..4fb1225 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# osync test suite 2016111505 +# osync test suite 2016111506 # 4 tests: # quicklocal @@ -577,7 +577,7 @@ function test_MultipleConflictBackups () { function test_WaitForTaskCompletion () { - if [ "$OSYNC_MIN_VERSION" != "1" ]; then + if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping WaitForTaskCompletion test because osync v1.1 does not support multiple pid monitoring" return 0 fi @@ -632,7 +632,7 @@ function test_WaitForTaskCompletion () { } function test_ParallelExec () { - if [ "$OSYNC_MIN_VERSION" != "1" ]; then + if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping ParallelExec test because osync v1.1 didn't have this" return 0 fi @@ -681,7 +681,7 @@ function test_ParallelExec () { } function test_UpgradeConfRun () { - if [ "$OSYNC_MIN_VERSION" != "1" ]; then + if [ "$OSYNC_MIN_VERSION" == "1" ]; then echo "Skipping Upgrade script test because no further dev will happen on this for v1.1" return 0 fi