summaryrefslogtreecommitdiff
path: root/tests/convert-tests
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-07-20 18:44:49 +0200
committerDavid Sterba <dsterba@suse.com>2017-07-20 19:42:59 +0200
commit18b519e694a6ef559d85072f86898ab5a61f6a05 (patch)
tree389909f446d659498048f64d573125a71a0a30cd /tests/convert-tests
parent46809a7287eb41ff2fdb83f742bd5250b820145a (diff)
btrfs-progs: tests: use separate helper for mounting convert filesystems
We'll enforce the btrfs type for mount everwhere so we must provide a way to mount converted filesystems. Add a new helper that will try to mount the given type. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/convert-tests')
-rwxr-xr-xtests/convert-tests/005-delete-all-rollback/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/convert-tests/005-delete-all-rollback/test.sh b/tests/convert-tests/005-delete-all-rollback/test.sh
index 6871939e..337413bb 100755
--- a/tests/convert-tests/005-delete-all-rollback/test.sh
+++ b/tests/convert-tests/005-delete-all-rollback/test.sh
@@ -47,12 +47,12 @@ do_test() {
run_check_umount_test_dev
convert_test_post_rollback
- run_check_mount_test_dev
+ run_check_mount_convert_dev ext4
convert_test_post_check_checksums "$CHECKSUMTMP"
run_check_umount_test_dev
# mount again and verify checksums
- run_check_mount_test_dev
+ run_check_mount_convert_dev ext4
convert_test_post_check_checksums "$CHECKSUMTMP"
run_check_umount_test_dev