4
local TESTDIR=$(readlink -f $(dirname $0))
7
configarchitecture "i386"
10
CURRENTTRAP="chmod a+x rootdir/var/lib/dpkg; $CURRENTTRAP"
11
trap "$CURRENTTRAP" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
12
chmod a-x rootdir/var/lib/dpkg
15
rm -f rootdir/var/cache/apt/*.bin
16
msgtest "No segfault in" "$*"
17
local TEST="$($* 2>&1 | grep -v 'E:')"
18
if [ -z "$TEST" ]; then
27
echo 'quiet 2;' > rootdir/etc/apt/apt.conf.d/00be-quiet
29
testsegfault aptcache gencaches
30
testsegfault aptcache showpkg
31
testsegfault aptcache showsrc
32
testsegfault aptcache stats
33
testsegfault aptcache dump
34
testsegfault aptcache dumpavail
35
testsegfault aptcache unmet
36
testsegfault aptcache search
37
testsegfault aptcache show apt
38
testsegfault aptcache depends apt
39
testsegfault aptcache rdepends apt
40
testsegfault aptcache pkgnames apt
41
testsegfault aptcache dotty apt
42
testsegfault aptcache xvcg apt
43
testsegfault aptcache policy apt
45
testsegfault aptget update
46
testsegfault aptget upgrade
47
testsegfault aptget dselect-upgrade
48
testsegfault aptget dist-upgrade
49
testsegfault aptget install apt
50
testsegfault aptget remove apt
51
testsegfault aptget purge apt
52
testsegfault aptget source apt
53
testsegfault aptget build-dep apt
54
testsegfault aptget check
55
testsegfault aptget clean
56
testsegfault aptget autoclean
57
testsegfault aptget autoremove