summaryrefslogtreecommitdiff
path: root/tests/cert-tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-03-29 15:34:37 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-03-29 15:34:37 +0200
commitb81fbbc42fbdae474e72370ec7eefb84b540520a (patch)
tree0e50a5989108b8503e297a96c772df32811fbd83 /tests/cert-tests
parent6c86cbdfad9b1643f70ff755e502cc364131937d (diff)
downloadgnutls-b81fbbc42fbdae474e72370ec7eefb84b540520a.tar.gz
tests: delete outfile in certtool-long-cn
Diffstat (limited to 'tests/cert-tests')
-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