diff options
author | Petr Rockai <prockai@redhat.com> | 2012-09-10 07:42:39 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2012-09-26 17:26:23 +0200 |
commit | 2d7a8b453196893186ae3eb61dc31c1df8b1cf6f (patch) | |
tree | e2a7661e3c978edebc7e9dae8435ff13d23ecc7f | |
parent | 0a87fed794f2886047298bbc7b21919e9fc04951 (diff) | |
download | lvm2-2d7a8b453196893186ae3eb61dc31c1df8b1cf6f.tar.gz lvm2-2d7a8b453196893186ae3eb61dc31c1df8b1cf6f.tar.xz lvm2-2d7a8b453196893186ae3eb61dc31c1df8b1cf6f.zip |
TEST: Add LVM_VALGRIND_LVMETAD to testing options.
-rw-r--r-- | test/lib/aux.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index d6a20085..d1d5e102 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -73,8 +73,11 @@ prepare_lvmetad() { lvmconf "global/use_lvmetad = 1" lvmconf "devices/md_component_detection = 0" + local run_valgrind= + test -z "$LVM_VALGRIND_LVMETAD" || run_valgrind="run_valgrind" + echo "preparing lvmetad..." - lvmetad -f "$@" -s "$TESTDIR/lvmetad.socket" -d wire,debug & + $run_valgrind lvmetad -f "$@" -s "$TESTDIR/lvmetad.socket" -d wire,debug & echo $! > LOCAL_LVMETAD sleep .3 |