From 24c91a481288a75ee1d1ac09cbb33d185bee6ad9 Mon Sep 17 00:00:00 2001 From: Christine Caulfield Date: Tue, 20 Mar 2018 13:01:28 +0000 Subject: [PATCH] test Extra tidying for make distcheck --- lib/Makefile.am | 2 ++ tests/resources.test | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lib/Makefile.am b/lib/Makefile.am index b035f0b0d..0e3d2ecac 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -137,6 +137,8 @@ install-exec-hook: qblog_script.ld sed -i -- "s/libqb.so./$${so_ver}/" \ "$(DESTDIR)$(libdir)/libqb.so-t" "$(DESTDIR)$(pkgconfigexecdir)/libqb.pc" mv -f "$(DESTDIR)$(libdir)/libqb.so-t" "$(DESTDIR)$(libdir)/libqb.so" + rm -f "$(DESTDIR)$(pkgconfigexecdir)/libqb.pc--" + rm -f "$(DESTDIR)$(libdir)/libqb.so-t--" endif if HAVE_SPLINT diff --git a/tests/resources.test b/tests/resources.test index db7d11686..0fc7f6ecf 100755 --- a/tests/resources.test +++ b/tests/resources.test @@ -29,5 +29,8 @@ if [ $? -eq 0 ]; then echo "test program frozen" RETURN=1 fi + +# Keep it tidy - distcheck checks we have not left a mess rm -f ipc-test-name +rm -f crash_test_dummy.core exit $RETURN