summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-root
blob: c3cb1c2570439182a66ab4123d4f33adac77a019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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