chiark / gitweb /
Test suite: build-modes tests: Clean the tree ourselves before each test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Jul 2015 14:26:34 +0000 (15:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Jul 2015 14:26:34 +0000 (15:26 +0100)
tests/lib-build-modes

index 879bc01..cdf223d 100644 (file)
@@ -109,6 +109,7 @@ bm-run-one () {
        bm-compute-expected
 
        git checkout $branch
+       git clean -xdf # since we might not do any actual cleaning
 
        dsc='../example_1.0.dsc'
        rm -f $dsc