]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-604222-new-and-autoremove
test the xz compressor, too
[apt.git] / test / integration / test-bug-604222-new-and-autoremove
index fa6dcdc70a0b8403cbffac12e7835601cc061140..2875d547adee4c9189868beec6ff905d08745e77 100755 (executable)
@@ -1,15 +1,15 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-local TESTDIR=$(readlink -f $(dirname $0))
+TESTDIR=$(readlink -f $(dirname $0))
 . $TESTDIR/framework
 setupenvironment
 configarchitecture "i386"
 setupaptarchive
 
 . $TESTDIR/framework
 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...
 
 testequal "Reading package lists...
 Building dependency tree...