Fixed tests depending on minor version

This commit is contained in:
deajan 2016-11-16 00:48:07 +01:00
parent d3643d0e9b
commit 044d83907b
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# osync test suite 2016111505 # osync test suite 2016111506
# 4 tests: # 4 tests:
# quicklocal # quicklocal
@ -577,7 +577,7 @@ function test_MultipleConflictBackups () {
function test_WaitForTaskCompletion () { 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" echo "Skipping WaitForTaskCompletion test because osync v1.1 does not support multiple pid monitoring"
return 0 return 0
fi fi
@ -632,7 +632,7 @@ function test_WaitForTaskCompletion () {
} }
function test_ParallelExec () { 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" echo "Skipping ParallelExec test because osync v1.1 didn't have this"
return 0 return 0
fi fi
@ -681,7 +681,7 @@ function test_ParallelExec () {
} }
function test_UpgradeConfRun () { 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" echo "Skipping Upgrade script test because no further dev will happen on this for v1.1"
return 0 return 0
fi fi