summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-03-29 15:34:37 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-03-31 13:30:42 +0200
commita7c39297338491917ad59c4b7a7e92bf12b78e85 (patch)
treef48a7fc124d34eb9534c99d722b5eebf59459af8
parent22ec9eb3d225b9fdd0c91d48f727ab3a7275fa97 (diff)
downloadgnutls-a7c39297338491917ad59c4b7a7e92bf12b78e85.tar.gz
tests: delete outfile in certtool-long-cn
-rwxr-xr-xtests/cert-tests/certtool-long-cn4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cert-tests/certtool-long-cn b/tests/cert-tests/certtool-long-cn
index dc79b50789..23654233ad 100755
--- a/tests/cert-tests/certtool-long-cn
+++ b/tests/cert-tests/certtool-long-cn
@@ -25,7 +25,7 @@
srcdir="${srcdir:-.}"
CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
DIFF="${DIFF:-diff -b -B}"
-outfile=out.$$.pem
+outfile="out.$$.pem"
if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=3"
@@ -50,4 +50,6 @@ if test $? != 0;then
exit 1
fi
+rm -f "$outfile"
+
exit 0