1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

test: Call $VALGRIND directly in lvm-wrapper.

This commit is contained in:
Petr Rockai 2014-10-01 08:19:05 +02:00
parent 3af008d405
commit 1f727f3f3d
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
run_valgrind() {
# Execute script which may use $TESTNAME for creating individual
# log files for each execute command
exec "${VALGRIND:-valg}" "$@"
exec "${VALGRIND:-valgrind}" "$@"
}
expect_failure() {

View File

@ -24,7 +24,7 @@ test -z "$LVM_GDB" || exec gdb --readnow --args "$abs_top_builddir/tools/lvm" $C
# Multiple level of LVM_VALGRIND support
# the higher level the more commands are traced
if test -n "$LVM_VALGRIND"; then
RUN_DBG="aux run_valgrind";
RUN_DBG="${VALGRIND:-valgrind}";
fi
if test -n "$LVM_STRACE"; then