Update T1552.004.yaml, Linux tests (#2042)

redirect find errors

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Dan
2022-07-25 16:56:04 -04:00
committed by GitHub
parent 5ec9b7c317
commit cf612cdfa9
+4 -4
View File
@@ -31,7 +31,7 @@ atomic_tests:
default: /tmp/keyfile_locations.txt
executor:
command: |
find #{search_path} -name id_rsa >> #{output_file}
find #{search_path} -name id_rsa 2>/dev/null >> #{output_file}
cleanup_command: |
rm #{output_file}
name: sh
@@ -53,7 +53,7 @@ atomic_tests:
executor:
command: |
mkdir #{output_folder}
find #{search_path} -name id_rsa -exec cp --parents {} #{output_folder} \;
find #{search_path} -name id_rsa 2>/dev/null -exec cp --parents {} #{output_folder} \;
cleanup_command: |
rm -rf #{output_folder}
name: sh
@@ -76,7 +76,7 @@ atomic_tests:
executor:
command: |
mkdir #{output_folder}
find #{search_path} -name id_rsa -exec rsync -R {} #{output_folder} \;
find #{search_path} -name id_rsa 2>/dev/null -exec rsync -R {} #{output_folder} \;
cleanup_command: |
rm -rf #{output_folder}
name: sh
@@ -99,7 +99,7 @@ atomic_tests:
executor:
command: |
mkdir #{output_folder}
find #{search_path} -type d -name '.gnupg' -exec rsync -Rr {} #{output_folder} \;
find #{search_path} -type d -name '.gnupg' 2>/dev/null -exec rsync -Rr {} #{output_folder} \;
cleanup_command: |
rm -rf #{output_folder}
name: sh