testsuite/driver: Fix deletion retry logic on Windows
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 24 Apr 2017 13:41:56 +0000 (09:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 24 Apr 2017 16:53:43 +0000 (12:53 -0400)
commit6f9f5ff16599814d8b10869be6dd424a5f7645d8
treee66717da2dd149a9a0f360825948f2fded4f50fb
parentb68697e579d38ca29c2b84377dc2affa04659a28
testsuite/driver: Fix deletion retry logic on Windows

Previously rmtree's error callback would throw an exception, breaking
out of the retry loop.

Test Plan: Validate on Windows

Reviewers: Phyx, austin

Reviewed By: Phyx

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3492
testsuite/driver/testlib.py