File: t

package info (click to toggle)
init-system-helpers 1.69
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: perl: 1,808; sh: 591; makefile: 40
file content (16 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (3)
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