mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: test invalid swap file activation
Swap files cannot have holes, and they must at least two pages. swapon(8) and mkswap(8) have stricter restrictions, so add versions of those commands without any restrictions. Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
/src/lstat64
|
||||
/src/makeextents
|
||||
/src/metaperf
|
||||
/src/mkswap
|
||||
/src/mmapcat
|
||||
/src/multi_open_unlink
|
||||
/src/nametest
|
||||
@@ -111,6 +112,7 @@
|
||||
/src/seek_sanity_test
|
||||
/src/stale_handle
|
||||
/src/stat_test
|
||||
/src/swapon
|
||||
/src/t_access_root
|
||||
/src/t_dir_offset
|
||||
/src/t_dir_offset2
|
||||
|
||||
Reference in New Issue
Block a user