summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rwxr-xr-xdebian/tests/check-installation9
-rw-r--r--debian/tests/control2
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/check-installation b/debian/tests/check-installation
new file mode 100755
index 0000000..c15d105
--- /dev/null
+++ b/debian/tests/check-installation
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ -z "$(/sbin/ldconfig -p | grep libtirpc)" ]; then
+ echo "no files found"
+ exit 1
+else
+ echo "There are files"
+ exit 0
+fi
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7652303
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: check-installation
+Restrictions: needs-root