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/?a=commitdiff_plain;h=4c06fbca2f9930f1019ccb2e18dc19ab1d7b72d3;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 0f7f66c9..82abd980 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,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