linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jeffm@suse.com
To: linux-btrfs@vger.kernel.org
Cc: Jeff Mahoney <jeffm@suse.com>
Subject: [PATCH 4/5] btrfs-progs: tests: fix typo in convert-tests/008-readonly-image
Date: Thu, 27 Jul 2017 11:47:22 -0400	[thread overview]
Message-ID: <20170727154723.2208-5-jeffm@suse.com> (raw)
In-Reply-To: <20170727154723.2208-1-jeffm@suse.com>

From: Jeff Mahoney <jeffm@suse.com>

The dd in convert-tests/008-readonly-image is expected to fail, so
there being a typo in the file name has gone unnoticed.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 tests/convert-tests/008-readonly-image/test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/convert-tests/008-readonly-image/test.sh b/tests/convert-tests/008-readonly-image/test.sh
index 27c9373..cc846fa 100755
--- a/tests/convert-tests/008-readonly-image/test.sh
+++ b/tests/convert-tests/008-readonly-image/test.sh
@@ -14,9 +14,10 @@ convert_test_prep_fs $default_mke2fs
 run_check_umount_test_dev
 convert_test_do_convert
 run_check_mount_test_dev
+run_check e2fsck -n "$TEST_MNT/ext2_saved/image"
 
 # It's expected to fail
-$SUDO_HELPER dd if=/dev/zero of="$TEST_MNT/ext2_save/image" bs=1M count=1 \
+$SUDO_HELPER dd if=/dev/zero of="$TEST_MNT/ext2_saved/image" bs=1M count=1 \
 	&> /dev/null
 if [ $? -ne 1 ]; then
 	echo "after convert ext2_save/image is not read-only"
@@ -24,3 +25,4 @@ if [ $? -ne 1 ]; then
 fi
 run_check_umount_test_dev
 convert_test_post_rollback
+
-- 
2.11.0


  parent reply	other threads:[~2017-07-27 15:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 15:47 [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support jeffm
2017-07-27 15:47 ` [PATCH 1/5] btrfs-progs: convert: properly handle reserved ranges while iterating files jeffm
2017-07-28  1:12   ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 2/5] btrfs-progs: convert: add missing newlines for printfs jeffm
2017-07-28  1:24   ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 3/5] btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_range jeffm
2017-07-28  1:20   ` Qu Wenruo
2017-07-27 15:47 ` jeffm [this message]
2017-07-28  1:27   ` [PATCH 4/5] btrfs-progs: tests: fix typo in convert-tests/008-readonly-image Qu Wenruo
2017-07-31 17:01     ` Jeff Mahoney
2017-07-31  7:35   ` Lakshmipathi.G
2017-07-27 15:47 ` [PATCH 5/5] btrfs-progs: convert: add support for converting reiserfs jeffm
2017-08-22 18:14 ` [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170727154723.2208-5-jeffm@suse.com \
    --to=jeffm@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).