projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct cross & disappear progress detection
[apt.git]
/
test
/
integration
/
test-apt-translation-has-no-packages
diff --git
a/test/integration/test-apt-translation-has-no-packages
b/test/integration/test-apt-translation-has-no-packages
index fec525568317a1d739ba594d13129ef63d8478ca..3c07af3b58d99894b9416b6f2727d4ebe716acbe 100755
(executable)
--- a/
test/integration/test-apt-translation-has-no-packages
+++ b/
test/integration/test-apt-translation-has-no-packages
@@
-9,26
+9,20
@@
#
set -e
#
set -e
-TESTDIR=
$(readlink -f $(dirname $0))
-.
$TESTDIR/framework
+TESTDIR=
"$(readlink -f "$(dirname "$0")")"
+.
"$TESTDIR/framework"
setupenvironment
configarchitecture "amd64"
setupenvironment
configarchitecture "amd64"
-if [ ! -x ${BUILDDIRECTORY}/apt ]; then
- msgmsg "No ${BUILDDIRECTORY}/apt"
- msgskip
- exit 0
-fi
-
buildsimplenativepackage 'foo' 'all' '1.0'
setupaptarchive
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
# 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
rootdir/var/lib/apt/lists/*Translation-en
# ensure that there is no Version for the package foo generated out of
@@
-38,4
+32,4
@@
testsuccessequal "foo:
Candidate: 1.0
Version table:
1.0 500
Candidate: 1.0
Version table:
1.0 500
- 500 file:$APTARCHIVE unstable/main a
md64
Packages" aptcache policy foo
+ 500 file:$APTARCHIVE unstable/main a
ll
Packages" aptcache policy foo