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:
John Johansen 2025-01-09 01:39:20 -08:00
commit 164526d16a

View file

@ -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"