summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-02-27 15:52:49 -0800
committerDamien Miller <djm@mindrot.org>2015-02-27 15:52:49 -0800
commitf7f3116abf2a6e2f309ab096b08c58d19613e5d0 (patch)
treedc16754cd65fe77b49727ceac0ab637b5a6b568a /regress/Makefile
parent1ad3a77cc9d5568f5437ff99d377aa7a41859b83 (diff)
twiddle test for portability
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 13e3fc8a..860c53f5 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -207,7 +207,7 @@ interop: ${INTEROP_TARGETS}
unit:
set -e ; if test -z "${SKIP_UNIT}" ; then \
V="" ; \
- test "x${USE_VALGRIND}" != "x" && \
+ test "x${USE_VALGRIND}" = "x" || \
V=${.CURDIR}/valgrind-unit.sh ; \
$$V ${.OBJDIR}/unittests/sshbuf/test_sshbuf ; \
$$V ${.OBJDIR}/unittests/sshkey/test_sshkey \