summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@debian.org>2019-11-26 08:26:30 -0500
committerJames McCoy <jamessan@debian.org>2019-11-26 08:26:30 -0500
commit030b8cc797cf42340fe6f79bf0eedf9a1aca9998 (patch)
tree6539bfb6545853cdc05dc6d5825a443a4c866f25
parent6c6dc6e35ad02bdebbe31444b579fea3da2026fe (diff)
Replace $ADTTMP with $AUTOPKGTEST_TMP
Signed-off-by: James McCoy <jamessan@debian.org>
-rw-r--r--debian/tests/libapache2-mod-svn2
-rwxr-xr-xdebian/tests/svnserve2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/tests/libapache2-mod-svn b/debian/tests/libapache2-mod-svn
index 626eb3c..9223277 100644
--- a/debian/tests/libapache2-mod-svn
+++ b/debian/tests/libapache2-mod-svn
@@ -11,7 +11,7 @@ cat > /etc/apache2/mods-available/dav_svn.conf <<EOT
EOT
service apache2 restart
-cd ${ADTTMP:-$AUTOPKGTEST_TMP}
+cd "$AUTOPKGTEST_TMP"
svn checkout http://localhost/svn
cd svn
echo "Hello, world!" > hello
diff --git a/debian/tests/svnserve b/debian/tests/svnserve
index 0765978..ec44556 100755
--- a/debian/tests/svnserve
+++ b/debian/tests/svnserve
@@ -1,7 +1,7 @@
#!/bin/sh
set -ex
-cd ${ADTTMP:-$AUTOPKGTEST_TMP}
+cd "$AUTOPKGTEST_TMP"
REPO=$(pwd)/repo
WC=$(pwd)/wc
PID=$(pwd)/pid