Skip to content
Myr

Run cleanup on die in nvm_checksum unit test.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kevin Wang · committed by Kevin Wang · parent 429656b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/fast/Unit tests/nvm_checksum+1 added-1 removed
2 unmodified lines
3cleanup () {4 rm tmp/emptyfile tmp/testfile5 rmdir tmp6}7die () { echo $@ ; exit 1; }7die () { echo $@ ; cleanup; exit 1; }89. ../../../nvm.sh1011mkdir -p tmp
7 unmodified lines