]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-590438-broken-provides-thanks-to-remove-order
merge with debian-sid
[apt.git] / test / integration / test-bug-590438-broken-provides-thanks-to-remove-order
index 17ce5029510ba32c891c9aa1a6b26133970358ba..0f64939484f1497bec69b28a5886be8d7b863b42 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
 set -e
 
-local TESTDIR=$(readlink -f $(dirname $0))
+TESTDIR=$(readlink -f $(dirname $0))
 . $TESTDIR/framework
 
 setupenvironment
 configarchitecture "i386"
-setupflataptarchive
+setupaptarchive
 
 pkgbasefile="Package: base-files
 Status: install ok installed
@@ -25,7 +25,7 @@ MD5sum: 8489687ce10e656babd467c9ee389349
 Description-de: Verschiedene Dateien für das Basis-System von Debian"
 
 predependsgawk() {
-#      rm rootdir/var/cache/apt/*.bin
+       rm rootdir/var/cache/apt/*.bin
        cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir/var/lib/dpkg/status
        echo "$pkgbasefile
 Pre-Depends: $1
@@ -57,7 +57,7 @@ predependsgawk "awk | aawk"
 predependsgawk "awk"
 
 predependsgawk2() {
-#      rm rootdir/var/cache/apt/*.bin
+       rm rootdir/var/cache/apt/*.bin
        cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir/var/lib/dpkg/status
        echo "$pkgbasefile
 Pre-Depends: $1