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