From: David-Sarah 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/frontends/listings/?a=commitdiff_plain;h=598cd91f707149325233df6650ad64e57ef9acbf;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 eb9c701d..a425ffb6 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,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 # quicktest-coverage" to do a unit test run with coverage-gathering enabled,