add chronic-like testsuccess/testfailure helpers
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 10 Aug 2013 08:01:06 +0000 (10:01 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 12 Aug 2013 16:01:37 +0000 (18:01 +0200)
commit0440d936d70b1e331d49bbc32735f1b749632604
tree9a422e857c5fc895e1992eca2077f7c105cbe0ac
parent29a59c460403820d0f039398194e321b7e0921fc
add chronic-like testsuccess/testfailure helpers

For many commands the output isn't stable (like then dpkg is called) but
the exitcode is, so this helper enhances the common && msgpass ||
msgfail by generating automatically a msgtest and showing the output of
the command in case of failure instead of discarding it unconditionally,
the later being chronic-like behaviour

Git-Dch: Ignore
26 files changed:
test/integration/framework
test/integration/test-apt-cdrom
test/integration/test-apt-get-autoremove
test/integration/test-bug-407511-fail-invalid-default-release
test/integration/test-bug-602412-dequote-redirect
test/integration/test-bug-604222-new-and-autoremove
test/integration/test-bug-604401-files-are-directories
test/integration/test-bug-611729-mark-as-manual
test/integration/test-bug-612099-multiarch-conflicts
test/integration/test-bug-612557-garbage-upgrade
test/integration/test-bug-612958-use-dpkg-multiarch-config
test/integration/test-bug-613420-new-garbage-dependency
test/integration/test-bug-64141-install-dependencies-for-on-hold
test/integration/test-bug-673536-pre-depends-breaks-loop
test/integration/test-bug-679371-apt-get-autoclean-multiarch
test/integration/test-bug-686346-package-missing-architecture
test/integration/test-bug-712116-dpkg-pre-install-pkgs-hook-multiarch
test/integration/test-bug-717891-abolute-uris-for-proxies
test/integration/test-compressed-indexes
test/integration/test-cve-2013-1051-InRelease-parsing
test/integration/test-disappearing-packages
test/integration/test-pdiff-usage
test/integration/test-policy-pinning
test/integration/test-releasefile-valid-until
test/integration/test-ubuntu-bug-761175-remove-purge
test/integration/test-ubuntu-bug-784473-InRelease-one-message-only