Tests: Simplify stdout redirection and fix Windows assertion error on cleanup
authorPete Batard <pete@akeo.ie>
Thu, 21 Feb 2013 00:24:18 +0000 (00:24 +0000)
committerPete Batard <pete@akeo.ie>
Fri, 22 Feb 2013 00:49:29 +0000 (00:49 +0000)
commit76eecc6ce11d1bedee369859899901037dcd4cc2
treec5362b1616f4c54126539fcaa5b67b20f4264ffc
parent4a924eb1c4a302426efdde7196b299e045f4ff96
Tests: Simplify stdout redirection and fix Windows assertion error on cleanup

* cleanup_test_output() produced an assertion error when compiled with MSVC
  due to closing ctx->output_file
* set ctx->output_file to stdout by default
libusb/version_nano.h
tests/libusbx_testlib.h
tests/testlib.c