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:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
trap 'rm $test.valgrind-errors; exit 1' INT QUIT
|
||||||
|
|
||||||
total=0
|
total=0
|
||||||
pass=0
|
pass=0
|
||||||
clean=0
|
clean=0
|
||||||
|
Reference in New Issue
Block a user