diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 11:38:30 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 12:53:31 +0100 |
commit | f15061e0b700cc7102eee181b022070a18927039 (patch) | |
tree | 5d4a5d75286cc181c2c7b1cdc66f212e2d73d6de /tests | |
parent | d98b7653e23426cdfe91f6892c2a2f1c21481cd0 (diff) |
dgit: clean_tree_check: Reorganise command construction
This will make it easier to make the command vary.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib-build-modes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib-build-modes b/tests/lib-build-modes index 5e186b2..403d8b2 100644 --- a/tests/lib-build-modes +++ b/tests/lib-build-modes @@ -148,7 +148,7 @@ bm-compute-expected () { case $eff_cleanmode in git) echo >&4 'BUILD-MODES PROGRAM git clean -xdf' ;; git-ff) echo >&4 'BUILD-MODES PROGRAM git clean -xdff' ;; - check|Ccheck) echo >&4 'BUILD-MODES PROGRAM git clean -xdn' ;; + check|Ccheck) echo >&4 'BUILD-MODES PROGRAM git clean -dn -x' ;; dpkg-source-d) echo >&4 "EXAMPLE RULES TARGET clean" ;; dpkg-source) bm-build-deps-ok || tolerate_fail=tolerate echo >&4 "EXAMPLE RULES TARGET clean" |