[med-svn] [Git][med-team/community/package_template][master] d/tests/run-unit-test: silence warning

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Aug 22 09:55:23 BST 2023



Michael R. Crusoe pushed to branch master at Debian Med / community / package_template


Commits:
225e10ad by Michael R. Crusoe at 2023-08-22T10:54:56+02:00
d/tests/run-unit-test: silence warning

We want $AUTOPKGTEST_TMP to be evaluated now, not later.

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
@@ -6,6 +6,7 @@ pkg=#PACKAGENAME#
 export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # shellcheck disable=SC2064
   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/225e10ad9e7f9f98e6dd5e42a96427eeb344467a

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/225e10ad9e7f9f98e6dd5e42a96427eeb344467a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230822/8d622ddd/attachment-0001.htm>


More information about the debian-med-commit mailing list