btrfs-progs/tests/fsck-tests
Tsutomu Itoh b0d8975582 btrfs-progs: test: fix how to make test files in fsck-tests 013
In my test environment, following error was occurred because the size
of /lib/modules/`uname -r`/* is larger than 1GB.

# 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
#

In this test case, 'generate_dataset small' is enough for making the
test files, so I will use 'generate_dataset' instead of 'cp'.

For this, move 'generate_dataset()' from 'common.convert' to 'common'.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-23 11:07:06 +01:00
..
001-bad-file-extent-bytenr
002-bad-transid
003-shift-offsets
004-no-dir-index
005-bad-item-offset
006-bad-root-items btrfs-progs: tests: add missing prerequisites 2016-01-12 15:16:11 +01:00
007-bad-offset-snapshots
008-bad-dir-index-name
009-no-dir-item-or-index
010-no-rootdir-inode-item
011-no-inode-item
012-leaf-corruption btrfs-progs: tests: add missing prerequisites 2016-01-12 15:16:11 +01:00
013-extent-tree-rebuild btrfs-progs: test: fix how to make test files in fsck-tests 013 2016-11-23 11:07:06 +01:00
014-no-extent-info
015-check-bad-memory-access
016-wrong-inode-nbytes
017-missing-all-file-extent btrfs-progs: fsck-tests: add case for inode losing all its extents 2015-08-31 19:25:12 +02:00
018-leaf-crossing-stripes btrfs-progs: tests: Introduce fsck-tests/018-leaf-crossing-stripes 2015-10-19 11:48:24 +02:00
019-non-skinny-false-alert btrfs-progs: tests: add 019-non-skinny-false-alert 2015-11-26 15:20:35 +01:00
020-extent-ref-cases btrfs-progs: tests: add 020-extent-ref-cases 2016-06-01 14:56:56 +02:00
021-partially-dropped-snapshot-case btrfs-progs: tests: add 021-partially-dropped-snapshot-case 2016-09-21 11:50:01 +02:00
022-qgroup-rescan-halfway btrfs-progs: tests: add fallback to current directory for check_all_images 2016-11-23 11:07:05 +01:00
023-qgroup-stack-overflow btrfs-progs: tests: add fallback to current directory for check_all_images 2016-11-23 11:07:05 +01:00
024-clear-space-cache btrfs-progs: fsck-tests: Check if clear space cache works 2016-11-09 13:12:49 +01:00