summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2010-05-16 17:41:37 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2010-05-16 17:41:37 +0000
commit8b2c7d3377ef006d0d896d85fb25d4a943ea8dde (patch)
treef286a796df44ffe08b12f5660e0038d7da355702 /regress
parentadffb4e59396c1fea163795dbd725a84fbf604cd (diff)
downloadmandoc-8b2c7d3377ef006d0d896d85fb25d4a943ea8dde.tar.gz
Remove temp files on success.
Diffstat (limited to 'regress')
-rwxr-xr-xregress/regress.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/regress.sh b/regress/regress.sh
index baa7e819..970aaec0 100755
--- a/regress/regress.sh
+++ b/regress/regress.sh
@@ -24,6 +24,7 @@ for file in */*.1 */*/*.1; do
mandoc "$file" > test.mandoc 2> /dev/null
${NROFF} ${OUTPUT} -mandoc "$file" > test.nroff 2> /dev/null
if cmp -s test.mandoc test.nroff; then
+ rm -f test.mandoc test.nroff
echo "passed"
pass=`expr $pass + 1`
else