summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-not-root
blob: e1ca6db3f9d914f655d9e8b58689f05b6c8cfd95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$(id -u)" = '0' ]; then
  # Skip, we cannot declare we do not want root.
  exit 77
fi

srcdir="$(pwd)"

cd $AUTOPKGTEST_TMP
"$srcdir/configure" --disable-nls --disable-dselect
make installcheck TESTSUITEFLAGS=--verbose