Better temporary directory handling for tests.
authorisaacs <i@izs.me>
Thu, 9 Sep 2010 01:42:32 +0000 (18:42 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 9 Sep 2010 23:43:18 +0000 (16:43 -0700)
commit85fb47c11cc985889be9c1a802cfc0331d8ad7a8
tree93c042b2676765239a43c1bdf574962ef9f44c83
parent7628905a9b9bb775cbcea91c1f6521bbd37549e7
Better temporary directory handling for tests.

Add a setUp and tearDown function to the test case class, and use it to
create and remove the test/tmp directory for each test.

TODO: amend other tests.
test/common.js
test/simple/test-fs-symlink.js
test/simple/test-mkdir-rmdir.js
test/simple/testcfg.py
tools/test.py