]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-progress-fd
get dpkg lock in build-dep if cache was invalid again
[apt.git] / test / integration / test-apt-progress-fd
index 0c11aba7e83b6fddc71d2e4deb47c59d0b264121..f0d208967f1f975faf3dd974bfee9b1f631cf746 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' 'i386'
@@ -73,8 +73,6 @@ pmstatus:dpkg-exec:75:Running dpkg'
 # install non-native and ensure we get proper progress info
 exec 3> apt-progress.log
 testsuccess aptget install testing2:i386 -y -o APT::Status-Fd=3
-
-# and compare
 testfileequal './apt-progress.log' 'dlstatus:1:0:Retrieving file 1 of 1
 dlstatus:1:20:Retrieving file 1 of 1
 pmstatus:dpkg-exec:0:Running dpkg