[PATCH 1/3] btrfs-progs: test: umount if confirmation failed

2015-12-04 Thread Naohiro Aota
When a check in check_inode() failed, the test should umount test target file system. This commit add clean up umount line in failure path. Signed-off-by: Naohiro Aota --- tests/fsck-tests/012-leaf-corruption/test.sh | 4 1 file changed, 4 insertions(+) diff --git a/tests/fsck-tests/012-le

Re: [PATCH 1/3] btrfs-progs: test: umount if confirmation failed

2015-12-07 Thread David Sterba
On Fri, Dec 04, 2015 at 02:37:25PM +0900, Naohiro Aota wrote: > When a check in check_inode() failed, the test should umount test target > file system. This commit add clean up umount line in failure path. The lack of cleanup after failed tests is intentional (exceptions possible). The tests are s

Re: [PATCH 1/3] btrfs-progs: test: umount if confirmation failed

2015-12-07 Thread Naohiro Aota
On Tue, Dec 8, 2015 at 12:33 AM, David Sterba wrote: > On Fri, Dec 04, 2015 at 02:37:25PM +0900, Naohiro Aota wrote: >> When a check in check_inode() failed, the test should umount test target >> file system. This commit add clean up umount line in failure path. > > The lack of cleanup after faile