mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge tests: fix incorrect setfattr call in xattrs_profile
The file was quoted with the following space, making the test broken. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1429 Approved-by: Ryan Lee <rlee287@yahoo.com> Approved-by: Georgia Garcia <georgia.garcia@canonical.com> Merged-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
commit
a2d52fedb2
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ requires_kernel_features policy/outofband
|
|||
clean_xattr()
|
||||
{
|
||||
setfattr --remove=user.foo "$file" 2> /dev/null || true
|
||||
setfattr --remove=user.bar "$file "2> /dev/null || true
|
||||
setfattr --remove=user.spam "$file "2> /dev/null || true
|
||||
setfattr --remove=user.bar "$file" 2> /dev/null || true
|
||||
setfattr --remove=user.spam "$file" 2> /dev/null || true
|
||||
}
|
||||
|
||||
set_xattr()
|
||||
|
|
Loading…
Add table
Reference in a new issue