diff options
Diffstat (limited to 'debian/tests/test-root')
-rw-r--r-- | debian/tests/test-root | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/tests/test-root b/debian/tests/test-root new file mode 100644 index 0000000..c3cb1c2 --- /dev/null +++ b/debian/tests/test-root @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$(id -u)" != '0' ]; then + # Fail, we declared needing root as a restriction. + exit 1 +fi + +t=test-root + +mkdir -p $t +cd $t +../configure --disable-nls --disable-dselect +make installcheck |