summaryrefslogtreecommitdiffstats
path: root/debian/tests/t
blob: 9b6b235e98fd6a7d68cda82b58dae59c14795a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -eu

export TEST_ON_REAL_SYSTEM=1
export TEST_INSTALLED=1

# test with fakechroot
for test in t/*.t; do
    echo "======== $(basename $test) (fakechroot) ======="
    fakechroot fakeroot perl $test
done
# test with DPKG_ROOT
for test in t/*.t; do
    echo "======== $(basename $test) (DPKG_ROOT) ======="
    TEST_DPKG_ROOT=1 perl $test
done