diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 72ebbef..f87c0d3 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# osync test suite 2019052002 +# osync test suite 2019052201 # Allows the following environment variables @@ -42,6 +42,9 @@ # setfacl needs double ':' to be compatible with both linux and BSD # setfacl -m o::rwx file +# On Windows 10 bash, we need to create host SSH keys first with ssh-keygen -A +# Then start ssh with service ssh start + # TODO, use copies of config file on each test function if [ "$SKIP_REMOTE" = "" ]; then @@ -291,7 +294,7 @@ function oneTimeTearDown () { $SUDO_CMD ./install.sh --remove --no-stats --prefix="$FAKEROOT" assertEquals "Uninstall failed" "0" $? - ELAPSED_TIME=$(($SECONDS - $START_TIME)) + ELAPSED_TIME=$((SECONDS-START_TIME)) echo "It took $ELAPSED_TIME seconds to run these tests." }