]> git.saurik.com Git - apt.git/commitdiff
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 e2c5234e287667c2ae872b57020740f253f36c2a..2422f0886d0770e218a16155609ac0cdf26cc3f4 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
        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
        echo "Debug::NoLocking \"true\";" >> aptconfig.conf
        echo "APT::Get::Show-User-Simulation-Note \"false\";" >> aptconfig.conf
        echo "Dir::Bin::dpkg \"fakeroot\";" >> aptconfig.conf