]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-719263-print-uris-removes-authentication
ignore std::locale exeception on non-existent "" locale
[apt.git] / test / integration / test-bug-719263-print-uris-removes-authentication
index 1c1a27ceb992d02fc121c0f04d612e4c81b80854..e79e6912d55acea19c668c2822f0c4c19779e756 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 
 setupenvironment
 configarchitecture 'amd64'
@@ -15,7 +15,7 @@ setupaptarchive
 testnoact() {
        cp -a rootdir/var/lib/dpkg/status rootdir/var/lib/dpkg/status-backup-noact
        touch rootdir/var/lib/apt/extended_states
-       testequal 'Reading package lists...
+       testsuccessequal 'Reading package lists...
 Building dependency tree...
 Reading state information...
 The following packages will be upgraded:
@@ -25,6 +25,7 @@ Inst unrelated [1] (2 unstable [all])
 Conf unrelated (2 unstable [all])' aptget install unrelated -s
        testsuccess aptget install unrelated -y
        testdpkginstalled unrelated
+       rm -rf rootdir/var/cache/apt/*.bin
        cp -a rootdir/var/lib/dpkg/status-backup-noact rootdir/var/lib/dpkg/status
 }