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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user