From 59d69167b770276aec9f5888c735e34b421e24ee Mon Sep 17 00:00:00 2001 From: Michael Boman Date: Mon, 26 Apr 2021 22:50:18 +0200 Subject: [PATCH] Fixed an issue where -CheckPrereqs could not create the required files. (#1439) --- atomics/T1030/T1030.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atomics/T1030/T1030.yaml b/atomics/T1030/T1030.yaml index f5fb7312..8397774c 100644 --- a/atomics/T1030/T1030.yaml +++ b/atomics/T1030/T1030.yaml @@ -23,8 +23,7 @@ atomic_tests: prereq_command: | if [ ! -f #{folder_path}/#{file_name} ]; then exit 1; else exit 0; fi; get_prereq_command: | - if [ ! -d #{folder_path} ]; then mkdir -p #{folder_path}; touch #{folder_path}/safe_to_delete; fi; - dd if=/dev/urandom of=#{folder_path}/#{file_name} bs=25000000 count=1 + if [ ! -d #{folder_path} ]; then mkdir -p #{folder_path}; touch #{folder_path}/safe_to_delete; fi; dd if=/dev/urandom of=#{folder_path}/#{file_name} bs=25000000 count=1 executor: command: | cd #{folder_path}; split -b 5000000 #{file_name}