From e8056ac460e2fdaf7cb97174f37c1d86b2d2f9f9 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sat, 30 Aug 2014 21:57:17 -0500 Subject: [PATCH] Run cleanup on die in nvm_checksum unit test. --- test/fast/Unit tests/nvm_checksum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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