test/integration/framework: set proper dir::state::status
authorMichael Vogt <mvo@debian.org>
Wed, 13 Oct 2010 13:30:47 +0000 (15:30 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 13 Oct 2010 13:30:47 +0000 (15:30 +0200)
test/integration/framework

index e2c5234..2422f08 100644 (file)
@@ -113,6 +113,7 @@ setupenvironment() {
        cp $(find $TESTDIR -name '*.pub' -o -name '*.sec') keys/
        ln -s ${TMPWORKINGDIRECTORY}/keys/joesixpack.pub rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg
        echo "Dir \"${TMPWORKINGDIRECTORY}/rootdir\";" > aptconfig.conf
+       echo "Dir::state::status \"${TMPWORKINGDIRECTORY}/rootdir/var/lib/dpkg/status\";" >> aptconfig.conf
        echo "Debug::NoLocking \"true\";" >> aptconfig.conf
        echo "APT::Get::Show-User-Simulation-Note \"false\";" >> aptconfig.conf
        echo "Dir::Bin::dpkg \"fakeroot\";" >> aptconfig.conf