linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] btrfs-progs: tests: Introduce run_check_mount_test_dev wrapper for mount loop device in old system
@ 2015-09-01 10:03 Zhao Lei
  2015-09-01 10:03 ` [PATCH v2 1/2] btrfs-progs: tests: Fix mount fail of 013-extent-tree-rebuild Zhao Lei
  2015-09-01 10:03 ` [PATCH v2 2/2] btrfs-progs: tests: Use mount_test_dev for misc-tests/007-subvolume-sync Zhao Lei
  0 siblings, 2 replies; 4+ messages in thread
From: Zhao Lei @ 2015-09-01 10:03 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Zhao Lei

mount command in old system can not add -o loop option automatically
for loop device, and make following test failed:
  # ./fsck-tests.sh
  ...
    [TEST]   013-extent-tree-rebuild
  failed: mount /data/btrfsprogs/tests/test.img /data/btrfsprogs/tests/mnt
  test failed for case 013-extent-tree-rebuild

This patchset add run_check_mount_test_dev for mount both block and loop
device.

Changelog v1->v2:
 1: Use string for mount option instead of string array.
 2: Include "run_check $SUDO_HELPER" into wrapper function.
 Both suggested by: David Sterba <dsterba@suse.cz>

Zhao Lei (2):
  btrfs-progs: tests: Fix mount fail of 013-extent-tree-rebuild
  btrfs-progs: tests: Use mount_test_dev for
    misc-tests/007-subvolume-sync

 tests/common                                     | 26 ++++++++++++++++++++++++
 tests/fsck-tests/013-extent-tree-rebuild/test.sh |  4 ++--
 tests/misc-tests/007-subvolume-sync/test.sh      |  4 ++--
 3 files changed, 30 insertions(+), 4 deletions(-)

-- 
1.8.5.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-01 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 10:03 [PATCH v2 0/2] btrfs-progs: tests: Introduce run_check_mount_test_dev wrapper for mount loop device in old system Zhao Lei
2015-09-01 10:03 ` [PATCH v2 1/2] btrfs-progs: tests: Fix mount fail of 013-extent-tree-rebuild Zhao Lei
2015-09-01 12:55   ` David Sterba
2015-09-01 10:03 ` [PATCH v2 2/2] btrfs-progs: tests: Use mount_test_dev for misc-tests/007-subvolume-sync Zhao Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).