Fixed tests depending on minor version

pull/78/head
deajan 8 years ago
parent d3643d0e9b
commit 044d83907b

@ -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

Loading…
Cancel
Save