diff options
Diffstat (limited to 'debian/tests')
-rwxr-xr-x | debian/tests/check-installation | 9 | ||||
-rw-r--r-- | debian/tests/control | 2 |
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 |