btrfs-progs/tests
David Sterba 1c4aefc2b8 btrfs-progs: tests: add support for command instrumentation
Add a way to wrap commands executed by the tests. This means the
common wrappers: run_check, run_check_stdout and run_mayfail , with the
exception of the use root_helper.

The contents of the shell variable INSTRUMENT are prepended to the
command, without quotes. Use with care.

Example: this has been tested with valgrind, the output goes to the
RESULTS file.

 $ INSTRUMENT=valgrind make test-misc

Any use of root_helper/SUDO_HELPER will skip the instrumentation.

Signed-off-by: David Sterba <dsterba@suse.com>
2015-11-02 09:35:07 +01:00
..
fsck-tests btrfs-progs: tests: Introduce fsck-tests/018-leaf-crossing-stripes 2015-10-19 11:48:24 +02:00
fuzz-tests btrfs-progs: tests: 001-simple-unmounted: iterate over fuzzed images and run check 2015-11-02 09:35:07 +01:00
misc-tests btrfs-progs: tests: add 010-convert-delete-ext2-subvol 2015-11-02 09:35:06 +01:00
mkfs-tests btrfs-progs: tests: add 002-no-force-mixed-on-small-volume 2015-11-02 09:35:05 +01:00
clean-tests.sh btrfs-progs: tests: umount TEST_MNT in clean-tests.sh 2015-09-01 14:02:48 +02:00
common btrfs-progs: tests: add support for command instrumentation 2015-11-02 09:35:07 +01:00
convert-tests.sh btrfs-progs: tests: Add '-o loop' to mount command line in convert-tests.sh 2015-09-20 14:31:02 +02:00
fsck-tests.sh btrfs-progs: tests: Introduce init_env to initialize common env variant 2015-09-01 14:02:48 +02:00
fuzz-tests.sh btrfs-progs: tests: add test driver for fuzzed images 2015-11-02 09:35:07 +01:00
misc-tests.sh btrfs-progs: tests: Introduce init_env to initialize common env variant 2015-09-01 14:02:48 +02:00
mkfs-tests.sh btrfs-progs: tests: add mkfs tests 2015-11-02 09:35:05 +01:00