2
0
mirror of https://github.com/deajan/osync synced 2024-11-17 09:25:42 +00:00

Updated test to disable remote host ping

This commit is contained in:
deajan 2016-09-05 22:30:03 +02:00
parent c0b62913b0
commit f521d75dbc

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# osync test suite 2016090502
# osync test suite 2016090503
# TODO: Add big fileset tests (eg: drupal 8 ?), add soft deletion tests, add deletion propagation test, add file attrib test
@ -96,7 +96,8 @@ function test_osync_quicksync_local () {
function test_osync_quicksync_remote () {
cd "$OSYNC_DIR"
./$OSYNC_EXECUTABLE --initiator="$INITIATOR_DIR" --target="ssh://localhost:$SSH_PORT/$TARGET_DIR" --rsakey="${HOME}/.ssh/id_rsa_local"
# Disable remote host ping because Travis can't ping
REMOTE_HOST_PING=no ./$OSYNC_EXECUTABLE --initiator="$INITIATOR_DIR" --target="ssh://localhost:$SSH_PORT/$TARGET_DIR" --rsakey="${HOME}/.ssh/id_rsa_local"
assertEquals "Return code" "0" $?
[ -d "$INITIATOR_DIR/$OSYNC_STATE_DIR" ]