summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-08-23 18:39:14 +0200
committerDaiki Ueno <ueno@gnu.org>2018-08-28 14:44:56 +0200
commit2066e7c57a7ae82e35fee3deaa06d89498d749a3 (patch)
tree49b6c260a41a65c4f675a58f98d262444ece81e7
parent7a844d8e8c1c87401b161094023cf309ca111095 (diff)
travis: Check valgrind exit code more strictly
-rw-r--r--.travis/linux/script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/linux/script.sh b/.travis/linux/script.sh
index 16e9f8f..c8ad2e3 100644
--- a/.travis/linux/script.sh
+++ b/.travis/linux/script.sh
@@ -9,4 +9,4 @@ docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && $SCAN_BUILD make -j$(npr
docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && P11_KIT_DEBUG=all LSAN_OPTIONS="$LSAN_OPTIONS" P11_KIT_TEST_LD_PRELOAD=\"$P11_KIT_TEST_LD_PRELOAD\" make check -j$(nproc) V=1 $CHECK_OPTS"
docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && make install"
docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && make installcheck"
-docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && valgrind --error-exitcode=81 pkcs11-tool --module p11-kit-proxy.so -L"
+docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && valgrind --error-exitcode=81 pkcs11-tool --module p11-kit-proxy.so -L; test $? != 81"