[med-svn] [Git][med-team/qcumber][master] Added check for AUTOPKGTEST_TMP
Israel Komolehin (@Komolehin)
gitlab at salsa.debian.org
Sat Dec 9 06:19:19 GMT 2023
Israel Komolehin pushed to branch master at Debian Med / qcumber
Commits:
8002d013 by Komolehin Israel Timilehin at 2023-12-09T06:14:08+00:00
Added check for AUTOPKGTEST_TMP
- - - - -
1 changed file:
- debian/tests/run-unit-test
Changes:
=====================================
debian/tests/run-unit-test
=====================================
@@ -1,6 +1,13 @@
#!/bin/bash
+if [ "$AUTOPKGTEST_TMP" = ""]; then
+ AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
+
+ trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM
+
+fi
+
cd test
# Generate test_yaml file
View it on GitLab: https://salsa.debian.org/med-team/qcumber/-/commit/8002d013441795c82bc4dd048e82600de7dbc974
--
View it on GitLab: https://salsa.debian.org/med-team/qcumber/-/commit/8002d013441795c82bc4dd048e82600de7dbc974
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/20231209/480a1340/attachment.htm>
More information about the debian-med-commit
mailing list