X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1c73b0fc41c23a08994ef1464c529e0aacff16de..782c60a6bf7dddcc71dbdbc4a0eea85824076fa9:/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