generic/570: don't run this test on systems supporting userspace hibernate
[xfstests-dev.git] / tests / generic / 570
index d574f4b70c3c3362e569efc4af6e7d6ea81a9df9..e5da2381a32f0608cd7ae45c4e9cc70d1d62f304 100755 (executable)
@@ -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