summaryrefslogtreecommitdiffstats
path: root/tests/xgettext-2
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-12-18 13:38:03 +0000
committerBruno Haible <bruno@clisp.org>2009-06-21 23:49:46 +0200
commit112855d45976bc24fd2a5930d5b93c1daff6956f (patch)
treebe57783c2f841408782d98d2df79c74832384c1c /tests/xgettext-2
parent1d1aa5294dd207fd7ac8e8adabfd8f74a1428d47 (diff)
downloadexternal_gettext-112855d45976bc24fd2a5930d5b93c1daff6956f.zip
external_gettext-112855d45976bc24fd2a5930d5b93c1daff6956f.tar.gz
external_gettext-112855d45976bc24fd2a5930d5b93c1daff6956f.tar.bz2
Unify tmpfiles handling.
Diffstat (limited to 'tests/xgettext-2')
-rwxr-xr-xtests/xgettext-25
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/xgettext-2 b/tests/xgettext-2
index 4038b7b..98e7a4a 100755
--- a/tests/xgettext-2
+++ b/tests/xgettext-2
@@ -1,6 +1,9 @@
#! /bin/sh
-tmpfiles="xg-test2.in.c"
+tmpfiles=""
+trap 'rm -fr $tmpfiles' 1 2 3 15
+
+tmpfiles="$tmpfiles xg-test2.in.c"
cat <<EOF > xg-test2.in.c
This is a test of the xgettext functionality.
/* xgettext:no-c-format */