Browse Source

Run cleanup on die in nvm_checksum unit test.

master
Kevin Wang 11 years ago
parent
commit
e8056ac460
  1. 2
      test/fast/Unit tests/nvm_checksum

2
test/fast/Unit tests/nvm_checksum

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

Loading…
Cancel
Save