Whamcloud - gitweb
test: add f_mke2fs_baddisk
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 7 Dec 2016 14:55:17 +0000 (18:55 +0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 13 Jan 2017 21:42:50 +0000 (16:42 -0500)
commit45d032ee839f6c71466c45c4c54503539f7c8937
tree6b7471fa22f1c896789bdafc9524b3fca34921ac
parent025d31b17a67953ce96741588bd911e6e66b6e03
test: add f_mke2fs_baddisk

Check what mke2fs will return non zero error on broken device.

This test requires using dmsetup, so it requires running as root; if
root privileges is not available, the test will be skipped.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_mke2fs_baddisk/script [new file with mode: 0644]