From a2a6d843b99c8e6d47efa4ca1185a9c17021502f Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 2 Jul 2018 15:12:02 +0200 Subject: [PATCH] More travis tests --- dev/tests/run_tests.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 130f888..8838c57 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -298,14 +298,16 @@ function test_Merge () { cd "$OSYNC_DIR" - # Set osync version to stable while testing to avoid warning message - # Don't use SetConfFileValue here since for whatever reason Travis does not like creating a sed temporary file in $FAKEROOT - sed -i.tmp "s/IS_STABLE=*/IS_STABLE=yes" "$OSYNC_EXECUTABLE" - #SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes" - echo "" echo "Installing osync to $FAKEROOT" $SUDO_CMD ./install.sh --no-stats --prefix="$FAKEROOT" + + # Set osync version to stable while testing to avoid warning message + # Don't use SetConfFileValue here since for whatever reason Travis does not like creating a sed temporary file in $FAKEROOT + sed -i.tmp "s/IS_STABLE=*/IS_STABLE=yes/" "$OSYNC_EXECUTABLE" + #SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes" + + assertEquals "Install failed" "0" $? }