diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 027f8e0..661f63b 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 2017020801 +# osync test suite 2017020802 # 4 tests: # quicklocal @@ -264,6 +264,10 @@ function oneTimeTearDown () { #rm -rf "$OSYNC_TESTS_DIR" rm -f "$TMP_FILE" + cd "$OSYNC_DIR" + ./install.sh --remove --silent --no-stats + assertEquals "Uninstall failed" "0" $? + ELAPSED_TIME=$(($SECONDS - $START_TIME)) echo "It took $ELAPSED_TIME seconds to run these tests." } @@ -279,6 +283,10 @@ function test_Merge () { ./merge.sh assertEquals "Merging code" "0" $? + cd "$OSYNC_DIR" + ./install.sh --silent --no-stats + assertEquals "Install failed" "0" $? + # Set osync version to stable while testing to avoid warning message SetConfFileValue "$OSYNC_DIR/$OSYNC_EXECUTABLE" "IS_STABLE" "yes" }