Run cleanup on die in nvm_checksum unit test.

master
Kevin Wang 2014-08-30 21:57:17 -05:00
parent 429656bc41
commit e8056ac460
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ cleanup () {
rm tmp/emptyfile tmp/testfile
rmdir tmp
}
die () { echo $@ ; exit 1; }
die () { echo $@ ; cleanup; exit 1; }
. ../../../nvm.sh