test: Avoid use of /proc/self/fd
[apt.git] / test / integration / test-bug-612557-garbage-upgrade
index 1709af7f2f312274d11cd583312cc2217b0bb9b4..d232c441212730fa325e63337a5c434fdff08107 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture "i386"
 
 setupenvironment
 configarchitecture "i386"