commit | d84c105170190c20fa850f85f6630700101d1bf5 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Wed May 16 13:38:49 2018 -0700 |
committer | Eryu Guan <guaneryu@gmail.com> | Wed May 23 10:53:04 2018 +0800 |
tree | 0ff02cb18a6d27a9ffe607d9b0152dee36dc8fb0 | |
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>