# 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
if [ ! -x ${BUILDDIRECTORY}/apt ]; then
msgmsg "No ${BUILDDIRECTORY}/apt"
- msgskip
+ msgskip
exit 0
fi
# ensure that there is no Version for the package foo generated out of
# the corrupted Translation-en file
-testequal "foo:
+testsuccessequal "foo:
Installed: (none)
Candidate: 1.0
Version table:
- 1.0 0
- 500 file:$APTARCHIVE/ unstable/main amd64 Packages" aptcache policy foo
+ 1.0 500
+ 500 file:$APTARCHIVE unstable/main amd64 Packages" aptcache policy foo