diff options
author | Michael Vogt <mvo@debian.org> | 2011-02-14 12:05:35 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-02-14 12:05:35 +0100 |
commit | 1fc07a44e8191e00fc1566bfc15e8b370da77330 (patch) | |
tree | 94603cf04d736dc500130389f2ef5ba4b027c8bc /test/integration/test-apt-get-autoremove | |
parent | 1dda80929fcd62c287a84f1ecc1277fc39890efe (diff) | |
parent | 2cae0ccb49efbeebe33f364b61e639ebf2639bdd (diff) |
merged from lp:~donkult/apt/sid
Diffstat (limited to 'test/integration/test-apt-get-autoremove')
-rwxr-xr-x | test/integration/test-apt-get-autoremove | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/integration/test-apt-get-autoremove b/test/integration/test-apt-get-autoremove index 9dfab19f5..c25ce3f58 100755 --- a/test/integration/test-apt-get-autoremove +++ b/test/integration/test-apt-get-autoremove @@ -14,10 +14,7 @@ setupaptarchive aptget install unrelated debhelper -qq 2>&1 > /dev/null testdpkginstalled 'unrelated' 'debhelper' 'po-debconf' -testfileequal 'rootdir/var/lib/apt/extended_states' 'Package: po-debconf -Architecture: i386 -Auto-Installed: 1 -' +testmarkedauto 'po-debconf' aptget remove debhelper -y -qq 2>&1 > /dev/null testdpkgnotinstalled 'debhelper' testdpkginstalled 'po-debconf' 'unrelated' @@ -43,8 +40,7 @@ testdpkginstalled "po-debconf" rm rootdir/etc/apt/apt.conf.d/00autoremove aptget autoremove -y -qq 2>&1 > /dev/null testdpkgnotinstalled 'po-debconf' - -testfileequal 'rootdir/var/lib/apt/extended_states' '' +testmarkedauto sed -i rootdir/var/log/apt/history.log -e '/^Commandline: / d' -e '/^Start-Date: / d' -e '/^End-Date: / d' testfileequal 'rootdir/var/log/apt/history.log' ' |