mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Merge Update fs type comment in swap regression test
As per https://gitlab.com/apparmor/apparmor/-/merge_requests/1463#note_2259888640: this really should have been a part of !1463, except that cboltz only pointed this out after the MR was already merged. Better late than never, nevertheless.
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1464
Approved-by: Christian Boltz <apparmor@cboltz.de>
Merged-by: Christian Boltz <apparmor@cboltz.de>
(cherry picked from commit f2c398405b
)
This commit is contained in:
@@ -33,7 +33,7 @@ swap_file=$tmpdir/swapfile
|
||||
fstype=$(stat -f --format '%T' "${tmpdir}")
|
||||
if [ "${fstype}" = "tmpfs" ] || [ "${fstype}" = "zfs" ] \
|
||||
|| [ "${fstype}" = "btrfs" ]; then
|
||||
# create a mountpoint not tmpfs or zfs
|
||||
# create a mountpoint not tmpfs, zfs, or btrfs
|
||||
mount_file=$tmpdir/mountfile
|
||||
mount_point=$tmpdir/mountpoint
|
||||
fstype="ext2"
|
||||
|
Reference in New Issue
Block a user