]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-architecture-specification-parsing
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-architecture-specification-parsing
index 701b10c3efca4749156cf21f082da880681f6fad..5db05e9a0105e0ba5443af284380173f24573477 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 
 # we need this construct here as it isn't really possible to fake native arch for dpkg-* tools
@@ -80,6 +80,7 @@ Conf foo (1.0 stable [${NATIVE}])" aptget build-dep pkg-arch-foo -s
 
 testsuccessequal 'Reading package lists...
 Building dependency tree...
+pkg-arch-no-foo has no build depends.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget build-dep pkg-arch-no-foo -s
 
 testsuccessequal "Reading package lists...
@@ -100,6 +101,7 @@ Conf foo (1.0 stable [${NATIVE}])" aptget build-dep pkg-arch-foo-unrelated-no2 -
 
 testsuccessequal 'Reading package lists...
 Building dependency tree...
+no-depends has no build depends.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget build-dep no-depends -s
 
 # this is not really testing APT - more that dpkg is in line with us