diff options
author | Ondřej Nový <onovy@debian.org> | 2018-10-01 10:35:56 +0200 |
---|---|---|
committer | Ondřej Nový <onovy@debian.org> | 2018-10-01 10:35:56 +0200 |
commit | f0a7fe78dc36d87a43e5eda3e3639e24aa991943 (patch) | |
tree | 65aaa985d68266175458d04488c8729c10fb2223 | |
parent | 981672c9140ba332de57d82234518e8f2a860e12 (diff) |
d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/tests/build | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index f754ff9..fec7360 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +uchardet (0.0.6-4) UNRELEASED; urgency=medium + + * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP + + -- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:35:56 +0200 + uchardet (0.0.6-3) unstable; urgency=medium * debian/compat: Use debhelper compat 11. diff --git a/debian/tests/build b/debian/tests/build index 17204bb..b02df0f 100644 --- a/debian/tests/build +++ b/debian/tests/build @@ -3,14 +3,14 @@ set -e -# Require $ADTTMP for temporary build files -if [ -z "$ADTTMP" ] +# Require $AUTOPKGTEST_TMP for temporary build files +if [ -z "$AUTOPKGTEST_TMP" ] then - echo "Required envvar \"\$ADTTMP\" is not set" >&2 + echo "Required envvar \"\$AUTOPKGTEST_TMP\" is not set" >&2 exit 1 fi -cd "$ADTTMP" +cd "$AUTOPKGTEST_TMP" cat <<EOF > detect.c #include <stdio.h> |