diff options
author | Omar Sandoval <osandov@fb.com> | 2018-05-16 13:38:49 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2018-05-23 10:53:04 +0800 |
commit | d84c105170190c20fa850f85f6630700101d1bf5 (patch) | |
tree | 0ff02cb18a6d27a9ffe607d9b0152dee36dc8fb0 /src/Makefile | |
parent | 37e5788a55a69aca1b2b2f501c1d6c6060dd3495 (diff) |
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>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index c42d3bb1..01fe99ef 100644 --- a/src/Makefile +++ b/src/Makefile @@ -26,7 +26,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ renameat2 t_getcwd e4compact test-nextquota punch-alternating \ attr-list-by-handle-cursor-test listxattr dio-interleaved t_dir_type \ dio-invalidate-cache stat_test t_encrypted_d_revalidate \ - attr_replace_test + attr_replace_test swapon mkswap SUBDIRS = log-writes perf |