X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/76b004d1a2122206925abc1a412e055430cef283..090c6f0a7ff49acb49be67433a7114ff8bfe5a70:/test/integration/test-apt-translation-has-no-packages?ds=sidebyside diff --git a/test/integration/test-apt-translation-has-no-packages b/test/integration/test-apt-translation-has-no-packages index ec2e1e43b..329e529ce 100755 --- a/test/integration/test-apt-translation-has-no-packages +++ b/test/integration/test-apt-translation-has-no-packages @@ -4,7 +4,7 @@ # Translation-$lang file on disk that is actually a Packages file. In this # case apt used to generate invalid package versions out of the # Translation-$lang file (i.e. apt-cache policy foo) would show a version -# comming out of a Translation file. Downloading this versions fails as +# coming out of a Translation file. Downloading this versions fails as # there is no acquire method available for the package # set -e @@ -24,11 +24,11 @@ fi buildsimplenativepackage 'foo' 'all' '1.0' setupaptarchive -APTARCHIVE=$(readlink -f ./aptarchive) +APTARCHIVE="$(readlink -f ./aptarchive)" # corrupt the Translation-en file to look like a regular Packages file rm rootdir/var/cache/apt/*.bin -cp $APTARCHIVE/dists/unstable/main/binary-amd64/Packages \ +cp "$APTARCHIVE/dists/unstable/main/binary-amd64/Packages" \ rootdir/var/lib/apt/lists/*Translation-en # ensure that there is no Version for the package foo generated out of @@ -38,4 +38,4 @@ testsuccessequal "foo: Candidate: 1.0 Version table: 1.0 500 - 500 file:$APTARCHIVE unstable/main amd64 Packages" aptcache policy foo + 500 file:$APTARCHIVE unstable/main all Packages" aptcache policy foo