diff options
author | Joerg Sonnenberger <joerg@netbsd.org> | 2010-05-16 17:41:37 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@netbsd.org> | 2010-05-16 17:41:37 +0000 |
commit | 8b2c7d3377ef006d0d896d85fb25d4a943ea8dde (patch) | |
tree | f286a796df44ffe08b12f5660e0038d7da355702 /regress/regress.sh | |
parent | adffb4e59396c1fea163795dbd725a84fbf604cd (diff) | |
download | mandoc-8b2c7d3377ef006d0d896d85fb25d4a943ea8dde.tar.gz |
Remove temp files on success.
Diffstat (limited to 'regress/regress.sh')
-rwxr-xr-x | regress/regress.sh | 1 |
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 |