summaryrefslogtreecommitdiff
path: root/btrfs.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-10-26 15:03:37 +0100
committerDavid Sterba <dsterba@suse.com>2015-11-02 09:35:07 +0100
commit1c4aefc2b80df30fde528fb47d34f72dade18fc2 (patch)
treef8620b933348365e04b37b06c0508ae9bcab5bf6 /btrfs.c
parentdfed5799dbc3f77c16da8f435b6cbabf1cb9b0c2 (diff)
downloadbtrfs-progs-1c4aefc2b80df30fde528fb47d34f72dade18fc2.tar.gz
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>
Diffstat (limited to 'btrfs.c')
0 files changed, 0 insertions, 0 deletions