summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-06-28 17:53:16 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-06-28 17:53:16 +0100
commit58d4a28e10d689ccbf3087c870be0fc2d2a37ee1 (patch)
treec54a790dd7bef66c08427e428e015ba389f0d365 /test
parent6f6e2494c6e54b837942c331e5763c6c1d8ced06 (diff)
parent1fc8c9229ab6272ff7422af36ecfbc7a21376544 (diff)
merged from debian-sid
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-bug-611729-mark-as-manual6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/test-bug-611729-mark-as-manual b/test/integration/test-bug-611729-mark-as-manual
index 4e3e2fa0b..9cf01610c 100755
--- a/test/integration/test-bug-611729-mark-as-manual
+++ b/test/integration/test-bug-611729-mark-as-manual
@@ -48,11 +48,17 @@ b is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget install b -d
testmarkedauto 'b'
+rm rootdir/var/log/apt/history.log
+
aptget install b --reinstall -y -qq 2>&1 > /dev/null
testdpkgnotinstalled a
testdpkginstalled b c
testmarkedauto 'b'
+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' '
+Reinstall: b:i386 (1.0)'
+
testequal 'Reading package lists...
Building dependency tree...
Reading state information...