glcpp: Clean up intermediate file when test suite is interrupted.

The glcpp-test script was leaving around bogus *.valgrind-errors files if
a valgrind test was interrupted.
This commit is contained in:
Carl Worth
2010-08-11 12:46:16 -07:00
parent 764e096647
commit 8485f4d9aa

View File

@@ -1,5 +1,7 @@
#!/bin/sh
trap 'rm $test.valgrind-errors; exit 1' INT QUIT
total=0
pass=0
clean=0