From 576d92a4dc29ea46c7ba30596452b169340f9c5c Mon Sep 17 00:00:00 2001 From: packetzero <20775507+packetzero@users.noreply.github.com> Date: Fri, 4 Nov 2022 16:46:04 -0500 Subject: [PATCH] fix prerequisite check for compile step --- atomics/T1547.006/T1547.006.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1547.006/T1547.006.yaml b/atomics/T1547.006/T1547.006.yaml index 44d76e1c..2038ba0e 100644 --- a/atomics/T1547.006/T1547.006.yaml +++ b/atomics/T1547.006/T1547.006.yaml @@ -92,7 +92,7 @@ atomic_tests: - description: | The kernel module must exist on disk at specified location prereq_command: | - exit 1 + if [ -f "#{exe_path}" ]; then exit 0 ; else exit 1; fi get_prereq_command: | cc -o #{exe_path} #{src_path} -framework IOKit -framework Foundation executor: