summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-not-root
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:45:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:45:21 +0000
commitb3e64bc4a36b1150b6e6de6ad7b966dfd98b1d4d (patch)
treefbba61f0870404ee20c06c4fcafcb01b74f478a9 /debian/tests/test-not-root
parentAdding upstream version 1.19.8. (diff)
downloaddpkg-b3e64bc4a36b1150b6e6de6ad7b966dfd98b1d4d.tar.xz
dpkg-b3e64bc4a36b1150b6e6de6ad7b966dfd98b1d4d.zip
Adding debian version 1.19.8.debian/1.19.8debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/test-not-root')
-rw-r--r--debian/tests/test-not-root15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/tests/test-not-root b/debian/tests/test-not-root
new file mode 100644
index 0000000..211de1e
--- /dev/null
+++ b/debian/tests/test-not-root
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$(id -u)" = '0' ]; then
+ # Skip, we cannot declare we do not want root.
+ exit 77
+fi
+
+t=test-not-root
+
+mkdir -p $t
+cd $t
+../configure --disable-nls --disable-dselect
+make installcheck