summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2014-10-01 08:19:05 +0200
committerPetr Rockai <prockai@redhat.com>2015-02-05 13:51:06 +0100
commit1f727f3f3d925af35877ad572ba606965bc6f1e7 (patch)
tree9b0555de3fe6a7e1d2eabfa5a7c75d3821b3b560
parent3af008d4051d54d9138933d99ca234ede8ea6b05 (diff)
downloadlvm2-1f727f3f3d925af35877ad572ba606965bc6f1e7.tar.gz
test: Call $VALGRIND directly in lvm-wrapper.
-rw-r--r--test/lib/aux.sh2
-rw-r--r--test/lib/lvm-wrapper.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index ca06c6934..88b821a56 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