]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: have 'make tmpfstest' unmount and remove stale temp directories.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 12 Dec 2012 07:19:47 +0000 (07:19 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:02 +0000 (22:31 +0100)
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Makefile

index 0f7f66c9510521d4318f244b4894bb555f869125..82abd980125a2b7c3852c445b7eb2ad7d1ec242c 100644 (file)
--- 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