X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1c73b0fc41c23a08994ef1464c529e0aacff16de..0343b48e06fb990ee15a020bc6716b1a5a984e14:/test/integration/test-security-no-remote-status diff --git a/test/integration/test-security-no-remote-status b/test/integration/test-security-no-remote-status index b7cd0b0d1..7db979e09 100755 --- a/test/integration/test-security-no-remote-status +++ b/test/integration/test-security-no-remote-status @@ -4,8 +4,8 @@ # set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture 'amd64' @@ -19,12 +19,12 @@ testequal "pretends-installed: Installed: (none) Candidate: 1 Version table: - 1 0 - 500 file:${TMPDIR}/aptarchive/ unstable/main amd64 Packages" aptcache policy pretends-installed + 1 500 + 500 file:${TMPDIR}/aptarchive unstable/main all Packages" aptcache policy pretends-installed testequal "really-installed: Installed: 1 Candidate: 1 Version table: - *** 1 0 + *** 1 100 100 ${TMPDIR}/rootdir/var/lib/dpkg/status" aptcache policy really-installed