]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-709560-set-candidate-release
reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges
[apt.git] / test / integration / test-bug-709560-set-candidate-release
index 48dc5c3820a68e8957c28db51d422f96c6d028ee..43eea36cc77921d57cd1c453603e80a02fa58178 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 'amd64'
 
@@ -21,11 +21,11 @@ EOF
 
 setupaptarchive
 
-testequal "Reading package lists...
+testsuccessequal "Reading package lists...
 Building dependency tree...
 Selected version '2.0' (experimental [all]) for 'foo'
 Selected version '2.1' (experimental [all]) for 'foo-dep' because of 'foo'
-The following extra packages will be installed:
+The following additional packages will be installed:
   foo-dep
 The following NEW packages will be installed:
   foo foo-dep