I pushed the bug fixes from this series, without their accompanying
tests. Here's a rebase of the test suite, with all those tests now
squashed into the main test patch, and also the
tell-Windows-to-be-more-like-Unix patch. Registered in the
commitfest.