tests: correct EXE existence check
[firmware_header_edit.git] / testsuite / Makefile
index 92625b9..b13bd3d 100644 (file)
@@ -25,10 +25,10 @@ tests_dir: $(TEST_DIR)
        @echo "Tests directory: $(TEST_DIR)"
 
 exe:
-       @test -e $(EXE) || ( echo "executable $(EXE) does not exist" && /bin/false && /bin/false )
-       @test -f $(EXE) || ( echo "executable $(EXE) is not a file" && /bin/false && /bin/false )
-       @test -x $(EXE) || ( echo "executable $(EXE) is not executable" && /bin/false && /bin/false )
        @echo "Testing $(EXE)"
+       @test -e $(EXE) || ( echo "executable $(EXE) does not exist" && /bin/false )
+       @test -f $(EXE) || ( echo "executable $(EXE) is not a file" && /bin/false )
+       @test -x $(EXE) || ( echo "executable $(EXE) is not executable" && /bin/false )
 
 checksum:
        echo $(CHK_HDR_ORIG) | $(SHA1SUM) --check --quiet