]> 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, 16 Oct 2015 16:45:29 +0000 (17:45 +0100)
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Makefile

index 1ee1ae5f41d49f65f487b7bbe89ce295db438229..120466138b80b8d9a91af2eda865a2f69ddefc6e 100644 (file)
--- 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