summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-07-08 09:47:52 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-07-08 10:17:37 +0200
commit78de731c1e36d1ed449212546acb10c43707d5fe (patch)
treec8327779eb0d943c42f63396878e4b1033b484ef /gl
parent0f8bde6cae79ce4a7901819131b2351f96a60e28 (diff)
downloadgnutls-78de731c1e36d1ed449212546acb10c43707d5fe.tar.gz
gl: use /bin/true to run valgrind during configure
Bash has memory leaks, which prevents the valgrind check to operate using the SHELL variable.
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/valgrind-tests.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index 19601e002c..e2168faa53 100644
--- a/gl/m4/valgrind-tests.m4
+++ b/gl/m4/valgrind-tests.m4
@@ -24,7 +24,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
OPTS="-q --error-exitcode=1 --leak-check=full --suppressions=suppressions.valgrind"
if test -n "$VALGRIND" \
- && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
+ && $VALGRIND $OPTS /bin/true >/dev/null 2>&1; then
opt_valgrind_tests=yes
VALGRIND="$VALGRIND $OPTS"
else