2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Update fs type comment in swap regression test

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
(cherry picked from commit 5cd3362a81)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Ryan Lee
2024-12-16 12:51:30 -08:00
committed by John Johansen
parent fd24c230c9
commit 5267a7eb14

View File

@@ -33,7 +33,7 @@ swap_file=$tmpdir/swapfile
fstype=$(stat -f --format '%T' "${tmpdir}") fstype=$(stat -f --format '%T' "${tmpdir}")
if [ "${fstype}" = "tmpfs" ] || [ "${fstype}" = "zfs" ] \ if [ "${fstype}" = "tmpfs" ] || [ "${fstype}" = "zfs" ] \
|| [ "${fstype}" = "btrfs" ]; then || [ "${fstype}" = "btrfs" ]; then
# create a mountpoint not tmpfs or zfs # create a mountpoint not tmpfs, zfs, or btrfs
mount_file=$tmpdir/mountfile mount_file=$tmpdir/mountfile
mount_point=$tmpdir/mountpoint mount_point=$tmpdir/mountpoint
fstype="ext2" fstype="ext2"