summaryrefslogtreecommitdiffstats
path: root/debian/tests/pkg-config
diff options
context:
space:
mode:
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"