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

set -e

if [ "$(id -u)" != '0' ]; then
  # Fail, we declared needing root as a restriction.
  exit 1
fi

srcdir="$(pwd)"

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