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/pf/content/en/quickstart.html?a=commitdiff_plain;h=13cc68fc61c129ffbfed32b7ff986f19bd272fd9;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