From 58c1c4c51fb50edd0080d9483a1012fd2069c9cb Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 7 Jun 2020 11:06:14 +0100 Subject: Use AUTOPKGTEST_TMP rather than the deprecated ADTTMP --- debian/tests/regress | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'debian/tests/regress') diff --git a/debian/tests/regress b/debian/tests/regress index 8bb73ee95..418bf55a6 100755 --- a/debian/tests/regress +++ b/debian/tests/regress @@ -2,7 +2,7 @@ set -e if [ "$(id -un)" != openssh-tests ]; then - TMP="$ADTTMP/user" + TMP="$AUTOPKGTEST_TMP/user" CREATED_RUN_SSHD=false STARTED_HAVEGED=false @@ -15,7 +15,7 @@ if [ "$(id -un)" != openssh-tests ]; then else start-stop-daemon --stop --quiet \ --retry=TERM/30/KILL/5 \ - --pidfile "$ADTTMP/haveged.pid" \ + --pidfile "$AUTOPKGTEST_TMP/haveged.pid" \ --name haveged fi fi @@ -54,8 +54,9 @@ EOF STARTED_HAVEGED=: elif ! pidof haveged >/dev/null; then start-stop-daemon --start --quiet \ - --pidfile "$ADTTMP/haveged.pid" \ - --exec /usr/sbin/haveged -- -p "$ADTTMP/haveged.pid" + --pidfile "$AUTOPKGTEST_TMP/haveged.pid" \ + --exec /usr/sbin/haveged -- \ + -p "$AUTOPKGTEST_TMP/haveged.pid" STARTED_HAVEGED=: fi -- cgit v1.2.3