On Mon, Aug 31, 2015 at 01:04:38PM +0800, Zhao Lei wrote: > If a testcase failed, we can't run it(or other tests needs mount) again, > # ./misc-tests.sh 007 > [TEST] 007-subvolume-sync > failed: fail > test failed for case 007-subvolume-sync > # ./misc-tests.sh 007 > [TEST] 007-subvolume-sync > failed: mount /root/btrfs-progs/tests/test.img /root/btrfs-progs/tests/mnt > test failed for case 007-subvolume-sync > # > > This patch add "umount $TEST_MNT" to clean-tests.sh, to let user > clean mountpoint easily. > > After patch: > # ./misc-tests.sh 007 > [TEST] 007-subvolume-sync > failed: fail > test failed for case 007-subvolume-sync > # > # clean-tests.sh > # > # ./misc-tests.sh 007 > [TEST] 007-subvolume-sync > failed: fail > test failed for case 007-subvolume-sync > # > > Changelog v1->v2: > Put umount command to clean-tests.sh instead of in testscript, > to keep failed-test stat until user run clean-tests.sh > explicitly, Suggested-by: David Sterba <dste...@suse.cz> > > Suggested-by: David Sterba <dste...@suse.cz> > Signed-off-by: Zhao Lei <zhao...@cn.fujitsu.com>
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html