tests: correct EXE existence check
authorTJ <hacker@iam.tj>
Tue, 29 Mar 2016 16:15:24 +0000 (17:15 +0100)
committerTJ <hacker@iam.tj>
Tue, 29 Mar 2016 16:15:24 +0000 (17:15 +0100)
Signed-off-by: TJ <hacker@iam.tj>
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