]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted
apt-key: change to / before find to satisfy its CWD needs
[apt.git] / test / integration / test-bug-617690-allow-unauthenticated-makes-all-untrusted
index 582e1bf5eec0e7e1b1413e3c2c0c8f43f615dbea..533cf771fba085e9ba0eae22f3dab94106de2e3a 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
 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"
 }