[SCM] artikulate packaging branch, master, updated. debian/16.08.3-1-56-g732f4c0
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Nov 21 15:06:37 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/artikulate.git;a=commitdiff;h=350ffe2
The following commit has been merged in the master branch:
commit 350ffe29e154fd2e61c2e2f0f7bdfb8a03402d16
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Sun Aug 20 18:58:29 2017 +0200
testsuite: use a trap for cleanup
---
debian/tests/testsuite | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 7a50312..ad85ae1 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,7 +1,9 @@
#!/bin/sh
-export HOME=$(mktemp -d)
+TMP_HOME=$(mktemp -d)
+export HOME="$TMP_HOME"
+cleanup () {
+ rm -rf "$TMP_HOME"
+}
+trap cleanup EXIT
xvfb-run -a --server-args="-screen 0 1024x768x24" \
dbus-run-session -- debian/tests/testsuite.xsession
-ret=$?
-rm -rf ${HOME}
-exit $ret
--
artikulate packaging
More information about the pkg-kde-commits
mailing list