X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b7080ced608f012aee2566afc724c3727e75fc1b..8683da61448b62df2ccc1918e4c605c9e6d4ab1d:/test/integration/test-bug-330162-encoded-tar-header?ds=sidebyside diff --git a/test/integration/test-bug-330162-encoded-tar-header b/test/integration/test-bug-330162-encoded-tar-header index b3fae6bac..b779bbc65 100755 --- a/test/integration/test-bug-330162-encoded-tar-header +++ b/test/integration/test-bug-330162-encoded-tar-header @@ -1,11 +1,11 @@ #!/bin/sh set -e -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/