branch: externals/org
commit a2eebc227aef7eb5a91e80791853af93482d8ac3
Author: Morgan Smith <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    * testing/lisp/test-org-attach-git.el: Remove git annex directory
    
    * testing/lisp/test-org-attach-git.el
    (test-org-attach-git/with-annex): Add missing unwindform to delete the
    directory afterwards.
---
 testing/lisp/test-org-attach-git.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/lisp/test-org-attach-git.el 
b/testing/lisp/test-org-attach-git.el
index e8b41fe8ce..6b949afb5d 100644
--- a/testing/lisp/test-org-attach-git.el
+++ b/testing/lisp/test-org-attach-git.el
@@ -37,7 +37,8 @@
              (shell-command "git config --global user.name \"John Doe\"")
             (shell-command "git init")
             (shell-command "git annex init")
-            ,@body)))))
+            ,@body))
+       (delete-directory tmpdir 'recursive))))
 
 (ert-deftest test-org-attach-git/use-annex ()
   (test-org-attach-git/with-annex

Reply via email to