summaryrefslogtreecommitdiffstats
path: root/debian/tests/pkg-config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:21 +0000
commit6ff351f1dface7e0a33ffb17d21c32989eb7f747 (patch)
treecf07bbb9e7d34f5e8bd9db0e82b2e708bc1f6c95 /debian/tests/pkg-config
parentAdding upstream version 2.1.6. (diff)
downloadpacemaker-6ff351f1dface7e0a33ffb17d21c32989eb7f747.tar.xz
pacemaker-6ff351f1dface7e0a33ffb17d21c32989eb7f747.zip
Adding debian version 2.1.6-4.debian/2.1.6-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/pkg-config')
-rwxr-xr-xdebian/tests/pkg-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/tests/pkg-config b/debian/tests/pkg-config
new file mode 100755
index 0000000..771a9e7
--- /dev/null
+++ b/debian/tests/pkg-config
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+status=0
+for file in $(dpkg -L pacemaker-dev | grep \\.pc); do
+ pkg-config --print-errors "$(basename $file .pc)" || status=1
+done
+
+exit "$status"