From f0ed2098be6d2cddabe130fd74e81c62dd5be5a0 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 8 Feb 2017 14:27:30 +0100 Subject: [PATCH] Fix installer on travis --- dev/tests/run_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 0660e26..075d5a0 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -7,7 +7,7 @@ ## On CYGWIN / MSYS, ACL and extended attributes aren't supported -# osync test suite 2017020802 +# osync test suite 2017020803 # 4 tests: # quicklocal @@ -265,7 +265,7 @@ function oneTimeTearDown () { rm -f "$TMP_FILE" cd "$OSYNC_DIR" - ./install.sh --remove --silent --no-stats + $SUDO_CMD ./install.sh --remove --silent --no-stats assertEquals "Uninstall failed" "0" $? ELAPSED_TIME=$(($SECONDS - $START_TIME)) @@ -284,7 +284,7 @@ function test_Merge () { assertEquals "Merging code" "0" $? cd "$OSYNC_DIR" - ./install.sh --silent --no-stats + $SUDO_CMD ./install.sh --silent --no-stats assertEquals "Install failed" "0" $? # Set osync version to stable while testing to avoid warning message