From f6004e7d91fb950266b3b514eceee2bcfb608e6b Mon Sep 17 00:00:00 2001 From: packetzero <20775507+packetzero@users.noreply.github.com> Date: Fri, 4 Nov 2022 16:56:11 -0500 Subject: [PATCH] fix prerequisite checks --- atomics/T1040/T1040.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/atomics/T1040/T1040.yaml b/atomics/T1040/T1040.yaml index e3a2e7f3..275cb6c4 100644 --- a/atomics/T1040/T1040.yaml +++ b/atomics/T1040/T1040.yaml @@ -173,7 +173,7 @@ atomic_tests: - description: | compile C program prereq_command: | - exit 1 + if [ -f "#{program_path}" ]; then exit 0; else exit 1; fi get_prereq_command: | cc #{csource_path} -o #{program_path} executor: @@ -202,7 +202,7 @@ atomic_tests: - description: | compile C program prereq_command: | - exit 1 + if [ -f "#{program_path}" ]; then exit 0; else exit 1; fi get_prereq_command: | cc #{csource_path} -o #{program_path} executor: @@ -232,7 +232,7 @@ atomic_tests: - description: | compile C program prereq_command: | - exit 1 + if [ -f "#{program_path}" ]; then exit 0; else exit 1; fi get_prereq_command: | cc #{csource_path} -o #{program_path} executor: @@ -262,7 +262,7 @@ atomic_tests: - description: | compile C program prereq_command: | - exit 1 + if [ -f "#{program_path}" ]; then exit 0; else exit 1; fi get_prereq_command: | cc #{csource_path} -o #{program_path} executor: