fragglet / lhasa

Free Software LHA implementation
http://fragglet.github.io/lhasa/
ISC License
80 stars 15 forks source link

Move temp-directory creation/deletion into common #17

Closed jmtd closed 9 years ago

jmtd commented 9 years ago

My previous patches added temp directory creation and deletion into each individual test script. I'd missed deletion in two cases, meaning your $TMPDIR would be left with unnecessary folders on each test run.

This patch fixes that problem but also moves temp directory creation into test_common.sh. This results in temp directory sharing across different invocations of the same tests, simplifying matters and shaving a little bit off the test run execution time.

fragglet commented 9 years ago

Looks good, thanks!