diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-08-13 15:25:10 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-08-15 13:28:23 +0200 |
commit | abc542bd5abf46c5170f8a0c3dcc62eff0c9cfde (patch) | |
tree | 18c85c8a0da40c797e16fd7ea4048d5157f0608f | |
parent | 34416ed787d804e0d293e47f2d10dc62ddea407c (diff) |
travis: Check that proxy module can be loaded and unloaded
-rw-r--r-- | .travis/linux/before_install.sh | 2 | ||||
-rw-r--r-- | .travis/linux/script.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis/linux/before_install.sh b/.travis/linux/before_install.sh index adfc72d..454b9eb 100644 --- a/.travis/linux/before_install.sh +++ b/.travis/linux/before_install.sh @@ -5,5 +5,5 @@ export CONTAINER=$(docker run -d fedora sleep 1800) docker exec $CONTAINER dnf -y install 'dnf-command(builddep)' docker exec $CONTAINER dnf -y builddep p11-kit -docker exec $CONTAINER dnf -y install gettext-devel git libtool make opensc openssl $EXTRA_PKGS +docker exec $CONTAINER dnf -y install gettext-devel git libtool make opensc openssl valgrind $EXTRA_PKGS docker exec $CONTAINER useradd user diff --git a/.travis/linux/script.sh b/.travis/linux/script.sh index d8ff4e5..16e9f8f 100644 --- a/.travis/linux/script.sh +++ b/.travis/linux/script.sh @@ -9,3 +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" |