Skip to contentSkip to conversation

master - test: Call $VALGRIND directly in lvm-wrapper.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1f727f3f3d925af35877ad572ba606965bc6f1e7
Commit:        1f727f3f3d925af35877ad572ba606965bc6f1e7
Parent:        3af008d4051d54d9138933d99ca234ede8ea6b05
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Oct 1 08:19:05 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:51:06 2015 +0100

test: Call $VALGRIND directly in lvm-wrapper.

---
 test/lib/aux.sh         |    2 +-
 test/lib/lvm-wrapper.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
test/lib/aux.sh +1 -1
index ca06c69..88b821a 100644
@@ -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() {
test/lib/lvm-wrapper.sh +1 -1
index 3eb0d99..496facc 100644
@@ -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