]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: have 'make tmpfstest' unmount and remove stale temp directories.
authorDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Wed, 12 Dec 2012 07:19:47 +0000 (07:19 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 4 Aug 2015 17:20:39 +0000 (18:20 +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