doc: Require POSIX.1-2008
[dpkg.git] / debian / tests / test-func-root
blob4b26aa9f941acbb09076a564d69fffca21a45b1c
1 #!/bin/sh
3 set -e
5 if [ "$(id -u)" != '0' ]; then
6 # Fail, we declared needing root as a restriction.
7 exit 1
8 fi
10 export DPKG_TESTSUITE_OPTIONS="debug as-root"
11 export DPKG_ADMINDIR="$AUTOPKGTEST_TMP/db"
13 eatmydata make -C tests test DPKG_ADMINDIR="$DPKG_ADMINDIR"