From: Daira Hopwood Date: Wed, 12 Dec 2012 07:19:47 +0000 (+0000) Subject: Makefile: have 'make tmpfstest' unmount and remove stale temp directories. X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/install-details.html?a=commitdiff_plain;h=c701cab691b251fef38121c3cd7e4ce6930f4518;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: have 'make tmpfstest' unmount and remove stale temp directories. Signed-off-by: David-Sarah Hopwood --- diff --git a/Makefile b/Makefile index 1ee1ae5f..12046613 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,8 @@ _tmpfstest: make-version -time $(TAHOE) debug trial --rterrors '--temp-directory=$(TMPDIR)/_trial_temp' $(TRIALARGS) $(TEST) sudo umount '$(TMPDIR)' rmdir '$(TMPDIR)' + -sudo umount tmp.* 2>/dev/null + -rmdir --ignore-fail-on-non-empty tmp.* 2>/dev/null # code coverage: install the "coverage" package from PyPI, do "make test-coverage" to