From: TJ Date: Tue, 29 Mar 2016 16:15:24 +0000 (+0100) Subject: tests: correct EXE existence check X-Git-Tag: v1.3~10 X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=firmware_header_edit.git;a=commitdiff_plain;h=cd9936f516600fd4e0575ee852abd5caf8e50487 tests: correct EXE existence check Signed-off-by: TJ --- diff --git a/testsuite/Makefile b/testsuite/Makefile index 92625b9..b13bd3d 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -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