Update T1485.yaml (#1395)

Let the file which will be deleted be more dynamic to allow users to define thier own using an input argument

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
McNulty
2021-02-18 16:57:41 +01:00
committed by GitHub
parent 7e974e12f2
commit 645cb4edcd
+1 -1
View File
@@ -29,7 +29,7 @@ atomic_tests:
Remove-Item $env:TEMP\SDelete.zip -Force
executor:
command: |
if (-not (Test-Path $env:TEMP\T1485.txt)) { New-Item $env:TEMP\T1485.txt -Force }
if (-not (Test-Path #{file_to_delete})) { New-Item #{file_to_delete} -Force }
Invoke-Expression -Command "#{sdelete_exe} -accepteula #{file_to_delete}"
name: powershell
- name: macOS/Linux - Overwrite file with DD