diff --git a/test/fast/Unit tests/nvm_checksum b/test/fast/Unit tests/nvm_checksum index 408659b..73cf1f1 100755 --- a/test/fast/Unit tests/nvm_checksum +++ b/test/fast/Unit tests/nvm_checksum @@ -4,7 +4,7 @@ cleanup () { rm tmp/emptyfile tmp/testfile rmdir tmp } -die () { echo $@ ; exit 1; } +die () { echo $@ ; cleanup; exit 1; } . ../../../nvm.sh