diff options
author | Petr Rockai <prockai@redhat.com> | 2014-10-01 08:19:05 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2014-11-18 19:02:08 +0100 |
commit | 7a7c42728cd1371ea0d3beff6235d4a3213945cb (patch) | |
tree | d9061a27a884bf5356963c72a9208d3b9e306d62 | |
parent | 625631492282fc9c428ddd4fd054291d6acc9aa9 (diff) | |
download | lvm2-7a7c42728cd1371ea0d3beff6235d4a3213945cb.tar.gz |
test: Call $VALGRIND directly in lvm-wrapper.
-rw-r--r-- | test/lib/aux.sh | 2 | ||||
-rw-r--r-- | test/lib/lvm-wrapper.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index aba30a72a..4fc285394 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -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() { diff --git a/test/lib/lvm-wrapper.sh b/test/lib/lvm-wrapper.sh index 3eb0d99a9..496facc7b 100644 --- a/test/lib/lvm-wrapper.sh +++ b/test/lib/lvm-wrapper.sh @@ -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 |