From 7e8463ec5069f962a34e396601439c5aeb7eda11 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 22 Nov 2016 17:43:43 +0100 Subject: [PATCH] Fixing typos --- dev/ofunctions.sh | 2 +- dev/tests/run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 31895c6..655ee8c 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -988,7 +988,7 @@ function GetLocalOS { LOCAL_OS="msys" ;; *"Microsoft"*) - LOCAL_OS)="WinNT10" + LOCAL_OS="WinNT10" ;; *"Darwin"*) LOCAL_OS="MacOSX" diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index ff55251..d4d511f 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -530,7 +530,7 @@ function test_softdeletion_cleanup () { [ -f "$file.new" ] assertEquals "New softdeleted / backed up file [$file.new] exists." "0" $? - if [ "$TRAVIS_RUN" == true ] || [ "$LOCAL_OS" == "BSD" ] || [ "$LOCAL_OS" == "MacOSX" ] || [ "$LOCAL_OS" == "WinNT10" ];; then + if [ "$TRAVIS_RUN" == true ] || [ "$LOCAL_OS" == "BSD" ] || [ "$LOCAL_OS" == "MacOSX" ] || [ "$LOCAL_OS" == "WinNT10" ]; then [ ! -f "$file.old" ] assertEquals "Old softdeleted / backed up file [$file.old] is deleted permanently." "0" $? else