generic: add test for truncate/fpunch of an active swapfile
authorOmar Sandoval <osandov@fb.com>
Wed, 16 May 2018 20:38:48 +0000 (13:38 -0700)
committerEryu Guan <guaneryu@gmail.com>
Wed, 23 May 2018 02:53:04 +0000 (10:53 +0800)
commit37e5788a55a69aca1b2b2f501c1d6c6060dd3495
treeb46da5f198a9fd3e75c0664b9eda913cb36fd42e
parent1150c26f8209596ea6c6807c486f885c28dc350e
generic: add test for truncate/fpunch of an active swapfile

These should not be allowed.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/494 [new file with mode: 0755]
tests/generic/494.out [new file with mode: 0644]
tests/generic/group