Added --ssh-controlmaster test for #169
This commit is contained in:
parent
9cfa13c59a
commit
59ec9e42c1
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# osync test suite 2019052202
|
# osync test suite 2019070501
|
||||||
|
|
||||||
|
|
||||||
# Allows the following environment variables
|
# Allows the following environment variables
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
# for each test
|
# for each test
|
||||||
# files with spaces, subdirs
|
# files with spaces, subdirs
|
||||||
# largefileset (...large ?)
|
# largefileset (...large ?)
|
||||||
|
# quickremote test with controlmaster enabled
|
||||||
# exclusions
|
# exclusions
|
||||||
# conflict resolution initiator with backups / multiple backups
|
# conflict resolution initiator with backups / multiple backups
|
||||||
# conflict resolution target with backups / multiple backups
|
# conflict resolution target with backups / multiple backups
|
||||||
|
@ -351,6 +352,14 @@ function test_LargeFileSet () {
|
||||||
done
|
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 () {
|
function test_Exclusions () {
|
||||||
# Will sync except php files
|
# Will sync except php files
|
||||||
# RSYNC_EXCLUDE_PATTERN="*.php" is set at runtime for quicksync and in config files for other runs
|
# RSYNC_EXCLUDE_PATTERN="*.php" is set at runtime for quicksync and in config files for other runs
|
||||||
|
|
Loading…
Reference in New Issue