4 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 msgtest
"No segfault in" "$*"
16 local TEST
="$($* 2>&1 | grep -v 'E:')"
17 if [ -z "$TEST" ]; then
26 echo 'quiet 2;' > rootdir
/etc
/apt
/apt.conf.d
/00be
-quiet
28 testsegfault aptcache gencaches
29 testsegfault aptcache showpkg
30 testsegfault aptcache showsrc
31 testsegfault aptcache stats
32 testsegfault aptcache dump
33 testsegfault aptcache dumpavail
34 testsegfault aptcache unmet
35 testsegfault aptcache search
36 testsegfault aptcache show apt
37 testsegfault aptcache depends apt
38 testsegfault aptcache rdepends apt
39 testsegfault aptcache pkgnames apt
40 testsegfault aptcache dotty apt
41 testsegfault aptcache xvcg apt
42 testsegfault aptcache policy apt
44 testsegfault aptget update
45 testsegfault aptget upgrade
46 testsegfault aptget dselect
-upgrade
47 testsegfault aptget dist
-upgrade
48 testsegfault aptget
install apt
49 testsegfault aptget remove apt
50 testsegfault aptget purge apt
51 testsegfault aptget
source apt
52 testsegfault aptget build
-dep apt
53 testsegfault aptget check
54 testsegfault aptget clean
55 testsegfault aptget autoclean
56 testsegfault aptget autoremove