Fix cleanup in simple_test
authorWouter Verhelst <w@uter.be>
Mon, 13 Jan 2014 19:42:40 +0000 (20:42 +0100)
committerWouter Verhelst <wouter@grep.be>
Mon, 13 Jan 2014 19:43:05 +0000 (20:43 +0100)
commit27d212a0783fe438b164d187f5992fd2a9bb8269
treef82dba73d97785888b4115ec7f4d6be86a318dd7
parent000d75f1df098d7fc93d3da71647787eff6170ae
Fix cleanup in simple_test

If nbd-server dies during the test for some reason or other, then the
kill call in the cleanup subroutine would fail, causing (due to 'set
-e') the script to abort immediately. As a result, the "rm -rf" of the
tempdir wouldn't happen, which would leave cruft in /tmp.

Fix.
tests/run/simple_test