From 9976b3a6e57f04bd7c7067097d1983155bade5b2 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 22 May 2019 20:30:27 +0200 Subject: [PATCH] Remove unnecessary $ --- dev/tests/run_tests.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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." }