IMP(shellcheck): quote variable in tests (SC2086)

This commit is contained in:
Thibault Ayanides
2020-11-30 13:05:41 +01:00
parent dba1dae963
commit bc1aa65b91
36 changed files with 127 additions and 127 deletions

View File

@ -14,8 +14,8 @@ test_audit() {
describe Tests purposely failing
local targetfile="/home/secaudit/suid_file"
touch $targetfile
chmod 4700 $targetfile
touch "$targetfile"
chmod 4700 "$targetfile"
register_test retvalshouldbe 1
register_test contain "Some suid files are present"
register_test contain "$targetfile"