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/%5B/%5D%20/file/README.win32?a=commitdiff_plain;h=7899d557f7b3d68ba7957604c4cf99f29eb5afd8;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