Files
apfstests/tests/generic/495.out
T
Omar Sandoval d84c105170 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>
2018-05-23 10:53:04 +08:00

6 lines
126 B
Plaintext

QA output created by 495
File with holes
swapon: Invalid argument
Empty swap file (only swap header)
swapon: Invalid argument