mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/570: don't run this test on systems supporting userspace hibernate
It turns out that userspace actually does need the ability to write to an active swapfile if userspace hibernation (uswsusp) is enabled. Therefore, this test doesn't apply under those conditions. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
0f58b106e2
commit
dff50e6084
@@ -32,6 +32,7 @@ _supported_fs generic
|
||||
_require_test_program swapon
|
||||
_require_scratch_nocheck
|
||||
_require_block_device $SCRATCH_DEV
|
||||
test -e /dev/snapshot && _notrun "userspace hibernation to swap is enabled"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
Reference in New Issue
Block a user