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 879bc016d9fe286e0b4ac60aadc85995cbd8694d..cdf223d63e903eec1af8767e990cea32ba5ecb9a 100644 (file)
@@ -109,6 +109,7 @@ bm-run-one () {
        bm-compute-expected
 
        git checkout $branch
        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
 
        dsc='../example_1.0.dsc'
        rm -f $dsc