diff options
author | Michael Vogt <mvo@debian.org> | 2015-06-23 12:17:35 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2015-06-23 12:17:35 +0100 |
commit | 245dde96193702f7f51389d3583dee547f8ba366 (patch) | |
tree | 6cf8c191641c760bcc6a6c08fb0ff65d27e0cffd /test/integration/test-apt-get-install-deb | |
parent | 5530255b5f3ad7de2e23dfcb39ce325001126501 (diff) | |
parent | c8a4ce6cbed57ae108dc955d4a850f9b129a0693 (diff) |
Merge remote-tracking branch 'donkult/debian/experimental' into debian/experimental
Diffstat (limited to 'test/integration/test-apt-get-install-deb')
-rwxr-xr-x | test/integration/test-apt-get-install-deb | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/test/integration/test-apt-get-install-deb b/test/integration/test-apt-get-install-deb index 700009da5..0f34692fe 100755 --- a/test/integration/test-apt-get-install-deb +++ b/test/integration/test-apt-get-install-deb @@ -8,23 +8,20 @@ setupenvironment configarchitecture "i386" # regression test for #754904 -testequal 'E: Unable to locate package /dev/null' aptget install -qq /dev/null +testfailureequal 'E: Unable to locate package /dev/null' aptget install -qq /dev/null # and ensure we fail for invalid debs cat > foo.deb <<EOF I'm not a deb, I'm a teapot. EOF -testequal 'E: Sub-process Popen returned an error code (100) -E: Encountered a section with no Package: header +testfailure aptget install ./foo.deb +testsuccess grep '^E: Sub-process Popen returned an error code' rootdir/tmp/testfailure.output +testequal 'E: Encountered a section with no Package: header E: Problem with MergeLister for ./foo.deb -E: The package lists or status file could not be parsed or opened.' aptget install -qq ./foo.deb +E: The package lists or status file could not be parsed or opened.' tail -n 3 rootdir/tmp/testfailure.output # fakeroot is currently not found, framwork needs updating -# -#buildsimplenativepackage 'foo' 'all' '1.0' -# -#testequal 'Selecting previously unselected package foo. -#(Reading database ... 0 files and directories currently installed.) -# Preparing to unpack .../incoming/foo_1.0_all.deb ... -#Unpacking foo (1.0) ... -#Setting up foo (1.0) ...' aptget install -qq ./incoming/foo_1.0_all.deb +buildsimplenativepackage 'foo' 'all' '1.0' +testdpkgnotinstalled 'foo' +testsuccess aptget install ./incoming/foo_1.0_all.deb +testdpkginstalled 'foo' |