]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-330162-encoded-tar-header
don't install new deps of candidates for kept back pkgs
[apt.git] / test / integration / test-bug-330162-encoded-tar-header
index fa01e0379a064399a3ba83160ff63f6f22570d2f..b779bbc65d63e4007e18ab7b3dbfcb966ce523f7 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/sh
 set -e
 
-local TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture "i386"
 
 msgtest 'Test apt-ftparchive with encoded tar header package'
-cp $TESTDIR/deb-bug-330162-encoded-tar-header.deb aptarchive/
-test -z "$(aptftparchive packages aptarchive/ 2>&1 | grep 'E:')" && msgpass || msgfail
+cp "$TESTDIR/deb-bug-330162-encoded-tar-header.deb" aptarchive/
+testsuccess aptftparchive packages aptarchive/