blob: e12297c99e612bbe0c0760ea8a4b1ef6c8c0fb15 (
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
export DPKG_TESTSUITE_OPTIONS="debug as-root"
export DPKG_ADMINDIR="$AUTOPKGTEST_TMP/db"
tests/db-regen "$DPKG_ADMINDIR" "/"
eatmydata make -C tests test DPKG_ADMINDIR="$DPKG_ADMINDIR"
|