]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Fix OS tests?
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 14 Sep 2020 10:14:08 +0000 (12:14 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 14 Sep 2020 10:14:08 +0000 (12:14 +0200)
scripts/test.sh

index 7df033bb285ae60d3f7e3ae6f6d342a52c6d46bd..af917560b718b2d4e81c752e86e92e972946958b 100644 (file)
@@ -51,7 +51,7 @@ assert_exclude() {
 }
 
 read_test() {
-  [ -f "$1" ] && return # needed for macOS, modulo does not seem to work
+  [ -f "$1" ] || return # needed for macOS, modulo does not seem to work
   while read -r line
   do
     if [ "$line" = "#*" ]