btrfs-progs: Add make testsuite command for export tests
authorGu Jinxiang <gujx@cn.fujitsu.com>
Thu, 8 Feb 2018 06:34:18 +0000 (14:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 13 Feb 2018 14:41:32 +0000 (15:41 +0100)
commiteb2fe7d1c476ebfa434ec2cf8afd1b52cce0f28e
tree1d4025a45b551910f4ddb402e3b97235262ef456
parentd5238ad71140b0222aa805382c679599b2c91025
btrfs-progs: Add make testsuite command for export tests

Export the testsuite files to a separate tar.  Since fsck tests depend
on btrfs-corrupt-block, and misc tests depends on both
btrfs-corrupt-block and fssum, so set it as prerequisites for package
commad.

Because, althougth fssum can be generated by source that are all in
tests directory, and has no rely on the btrfs's structure.  But
btrfs-corrupt-block deeply relys on btrfs's structure.  For consistency,
at the present stage, generete the two when create test tar.

Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
[ applied without changes, the generated tarball will be different from
  the one after the follow up commits ]
Signed-off-by: David Sterba <dsterba@suse.com>
.gitignore
Makefile
tests/export-tests.sh [new file with mode: 0755]
testsuites-list [new file with mode: 0644]