From 703333798410cd40d5fbb754ad36931a9aec0a2a Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 8 Dec 2016 20:36:13 +0100 Subject: [PATCH] Quick fix for remaining tmp file after ParallelExec test --- dev/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 0ab6283..3a85240 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -276,6 +276,7 @@ function oneTimeTearDown () { #TODO: uncomment this when dev is done #rm -rf "$OSYNC_TESTS_DIR" + rm -f "$TMP_FILE" ELAPSED_TIME=$(($SECONDS - $START_TIME)) echo "It took $ELAPSED_TIME seconds to run these tests." @@ -1195,7 +1196,6 @@ function test_ParallelExec () { cmd="sleep 4;du /none;sleep 3;du /none;sleep 2" ParallelExec 3 "$cmd" false 1 2 .05 7000 true true false ${FUNCNAME[0]} assertNotEquals "ParallelExec full test 3" "0" $? - } function test_timedExecution () {