Disabled some tests on v1.1x
This commit is contained in:
parent
79971ec36f
commit
e41b48ed2e
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# osync test suite 2016111504
|
# osync test suite 2016111505
|
||||||
|
|
||||||
# 4 tests:
|
# 4 tests:
|
||||||
# quicklocal
|
# quicklocal
|
||||||
|
@ -577,6 +577,11 @@ function test_MultipleConflictBackups () {
|
||||||
|
|
||||||
|
|
||||||
function 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
|
||||||
|
fi
|
||||||
|
|
||||||
local pids
|
local pids
|
||||||
|
|
||||||
# Tests if wait for task completion works correctly
|
# Tests if wait for task completion works correctly
|
||||||
|
@ -627,8 +632,15 @@ function test_WaitForTaskCompletion () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function 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
|
||||||
|
fi
|
||||||
|
|
||||||
local cmd
|
local cmd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Test if parallelExec works correctly in array mode
|
# Test if parallelExec works correctly in array mode
|
||||||
|
|
||||||
cmd="sleep 2;sleep 2;sleep 2;sleep 2"
|
cmd="sleep 2;sleep 2;sleep 2;sleep 2"
|
||||||
|
@ -669,6 +681,10 @@ function test_ParallelExec () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function 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
|
||||||
|
fi
|
||||||
|
|
||||||
# Basic return code tests. Need to go deep into file presence testing
|
# Basic return code tests. Need to go deep into file presence testing
|
||||||
cd "$OSYNC_DIR"
|
cd "$OSYNC_DIR"
|
||||||
|
|
Loading…
Reference in New Issue