From 59ec9e42c16e76d379629a5f11201f765e1108d3 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 5 Jul 2019 23:00:03 +0200 Subject: [PATCH] Added --ssh-controlmaster test for #169 --- dev/tests/run_tests.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index db0ab49..eadd5e0 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# osync test suite 2019052202 +# osync test suite 2019070501 # Allows the following environment variables @@ -22,6 +22,7 @@ # for each test # files with spaces, subdirs # largefileset (...large ?) +# quickremote test with controlmaster enabled # exclusions # conflict resolution initiator with backups / multiple backups # conflict resolution target with backups / multiple backups @@ -351,6 +352,14 @@ function test_LargeFileSet () { done } +function test_controlMaster () { + cd "$OSYNC_DIR" + + PrepareLocalDirs + REMOTE_HOST_PING=$REMOTE_PING $OSYNC_EXECUTABLE $osyncParameters[$__quickRemote] --ssh-controlmaster + assertEquals "Running quick remote test with controlmaster enabled." "0" $? +} + 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