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 btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
002-bad-transid btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
003-shift-offsets btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
004-no-dir-index btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
005-bad-item-offset btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
006-bad-root-items btrfs-progs: tests: add missing prerequisites 2016-01-12 15:16:11 +01:00
007-bad-offset-snapshots btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
008-bad-dir-index-name btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
009-no-dir-item-or-index btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
010-no-rootdir-inode-item btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
011-no-inode-item btrfs-progs: Move btrfs-image dump to corresponding dir 2015-01-14 18:34:18 +01:00
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 btrfs-progs: deal with no extent info 2015-02-09 14:53:07 -05:00
015-check-bad-memory-access btrfs-progs: test: 015-check-bad-memory-access 2015-05-25 16:10:48 +02:00
016-wrong-inode-nbytes btrfs-progs: tests: Add test case for I_ERR_FILE_WRONG_NBYTES repair 2015-07-03 17:57:48 +02:00
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