btrfs-progs: tests: unify test drivers, make ready for extenral testsuite
authorDavid Sterba <dsterba@suse.com>
Thu, 8 Feb 2018 17:34:40 +0000 (18:34 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 13 Feb 2018 15:19:48 +0000 (16:19 +0100)
commite44f595dd7dd2372954595cb9231c36e04cafc73
tree8d667d97dcb4a1457f1370d627b92fba42795e21
parentdd11901dae6c11387ffce0c769718b22ca8128f0
btrfs-progs: tests: unify test drivers, make ready for extenral testsuite

Make the TOP variable more configurable, allow to set it to any path
where to find binaries when the testsuite is exported, or fallback to
system binaries.

There's now more code duplication, the logic is now more complex so it's
left open coded for clarity. Further cleanups are possible.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/clean-tests.sh
tests/cli-tests.sh
tests/convert-tests.sh
tests/fsck-tests.sh
tests/fuzz-tests.sh
tests/misc-tests.sh
tests/mkfs-tests.sh