]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-progress-fd-error
4 TESTDIR
= " $(readlink -f "$(dirname "$0") " ) "
8 configarchitecture 'native'
11 touch usr/bin/file-conflict
13 buildsimplenativepackage 'foo1' 'native' '0.8.15' 'stable' '' 'pkg with file conflicts' '' '' 'usr/'
14 buildsimplenativepackage 'foo2' 'native' '0.8.15' 'stable' '' 'pkg with file conflicts' '' '' 'usr/'
15 insertinstalledpackage 'apport' 'native' '1'
19 exec 3> apt-progress.log
20 testfailure aptget install foo1 foo2 -y -o APT::Status-Fd=3
21 msgtest 'Ensure correct error message'
22 testsuccess --nomsg grep " foo2_0.8
.15 _
[ ^.
] \
+ .deb
: 36.3636 : trying to overwrite
'/usr/bin/file-conflict' , which is also
in package foo1
0.8.15 " apt-progress.log
24 testsuccess test -s rootdir/var/crash/foo2.0.crash
25 testsuccess grep '^Package: foo2 0.8.15$' rootdir/var/crash/foo2.0.crash