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:
Georgia Garcia 2024-11-21 18:05:24 +00:00
commit a2d52fedb2

View file

@ -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()