summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-604222-new-and-autoremove
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-10 18:10:14 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-10 18:10:14 +0100
commitec7f904e7ea1b0b8aaefbbb202ced9e19292dd76 (patch)
tree7f3daf5fdba5814a1f2ca8671d84f6768266511f /test/integration/test-bug-604222-new-and-autoremove
parentef86a8a4204ad579f1ab80f728a22b2ad0d34266 (diff)
use apt-mark instead of hand-mangling with the extended_states file
Diffstat (limited to 'test/integration/test-bug-604222-new-and-autoremove')
-rwxr-xr-xtest/integration/test-bug-604222-new-and-autoremove6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/test-bug-604222-new-and-autoremove b/test/integration/test-bug-604222-new-and-autoremove
index fa6dcdc70..9187dd1cd 100755
--- a/test/integration/test-bug-604222-new-and-autoremove
+++ b/test/integration/test-bug-604222-new-and-autoremove
@@ -7,9 +7,9 @@ setupenvironment
configarchitecture "i386"
setupaptarchive
-echo 'Package: libvtk5.4
-Auto-Installed: 1
-Architecture: i386' > rootdir/var/lib/apt/extended_states
+touch rootdir/var/lib/apt/extended_states
+aptmark markauto 'libvtk5.4'
+testmarkedauto 'libvtk5.4'
testequal "Reading package lists...
Building dependency tree...