X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/63c7141275c8c5c0f6e60f5242785e50cabaf2a0..29c590951f812d9e9c4f17706e34f2c3315fb1f6:/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 4c57623b1..3c07af3b5 100755 --- a/test/integration/test-apt-translation-has-no-packages +++ b/test/integration/test-apt-translation-has-no-packages @@ -9,18 +9,12 @@ # set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture "amd64" -if [ ! -x ${BUILDDIRECTORY}/apt ]; then - msgmsg "No ${BUILDDIRECTORY}/apt" - msgskip - exit 0 -fi - buildsimplenativepackage 'foo' 'all' '1.0' setupaptarchive @@ -38,4 +32,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