X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/03aa08472dcd689572a46ce6efdb1dccf6136334..4ff5e237d5685be187a75c563b86e80ea3e7cc01:/test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted diff --git a/test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted b/test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted index 582e1bf5e..533cf771f 100755 --- a/test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted +++ b/test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture 'i386' @@ -17,7 +17,7 @@ testfileexists() { } testfilemissing() { - msgtest 'Test for non-existance of file' "$1" + msgtest 'Test for non-existence of file' "$1" test -e "$1" && msgfail || msgpass rm -f "$1" }