All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013
Date: Fri, 18 Nov 2016 14:47:59 +0900	[thread overview]
Message-ID: <201611180547.AA00018@WIN-5MHF4RKU941.jp.fujitsu.com> (raw)
In-Reply-To: <201611180544.AA00017@WIN-5MHF4RKU941.jp.fujitsu.com>

In my test environment, size of /lib/modules/`uname -r`/* is
larger than 1GB, so test data can not copy to testdev.
Therefore we need expand the size of testdev.

# make test-fsck
    [TEST]   fsck-tests.sh
    [TEST/fsck]   013-extent-tree-rebuild
failed: cp -aR /lib/modules/4.9.0-rc5/ /test/btrfs-progs/tests/mnt
test failed for case 013-extent-tree-rebuild
Makefile:272: recipe for target 'test-fsck' failed
make: *** [test-fsck] Error 1
#

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
---
 tests/fsck-tests/013-extent-tree-rebuild/test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fsck-tests/013-extent-tree-rebuild/test.sh b/tests/fsck-tests/013-extent-tree-rebuild/test.sh
index f678e29..92c5d04 100755
--- a/tests/fsck-tests/013-extent-tree-rebuild/test.sh
+++ b/tests/fsck-tests/013-extent-tree-rebuild/test.sh
@@ -7,7 +7,7 @@ check_prereq mkfs.btrfs
 check_prereq btrfs
 
 setup_root_helper
-prepare_test_dev 1G
+prepare_test_dev 2G
 
 # test whether fsck can rebuild a corrupted extent tree
 test_extent_tree_rebuild()
-- 
2.9.3

  reply	other threads:[~2016-11-18  5:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  5:44 [PATCH 1/3] btrfs-progs: test: fix error of test target of Makefile Tsutomu Itoh
2016-11-18  5:47 ` Tsutomu Itoh [this message]
2016-11-18  6:36   ` [PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013 Qu Wenruo
2016-11-18 18:28     ` David Sterba
2016-11-21  0:39       ` Tsutomu Itoh
2016-11-21  5:10   ` [PATCH v2 2/3] btrfs-progs: test: fix how to make test files in " Tsutomu Itoh
2016-11-18  5:49 ` [PATCH 3/3] btrfs-progs: test: fix convert-tests 004 failure Tsutomu Itoh
2016-11-18 18:17   ` David Sterba
2016-11-18 18:29 ` [PATCH 1/3] btrfs-progs: test: fix error of test target of Makefile 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=201611180547.AA00018@WIN-5MHF4RKU941.jp.fujitsu.com \
    --to=t-itoh@jp.fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.