Make wiki link test work if /tmp contains an inaccessible subdirectory
commit03589677aa4ef48be659bfe7199c88dbc2f6c32b
authorPhilipp Stephani <phst@google.com>
Sat, 23 Sep 2017 12:20:49 +0000 (23 14:20 +0200)
committerJason Blevins <jblevins@xbeta.org>
Mon, 25 Sep 2017 00:34:26 +0000 (24 20:34 -0400)
treedff944879239bf21d68f9b4f7bd6a13da17fdea7
parent0cf78735d937c8e445d67459bad894b50770c1f1
Make wiki link test work if /tmp contains an inaccessible subdirectory

If ‘temporary-file-directory’ contains an inaccessible subdirectory,
‘markdown-fontify-buffer-wiki-links’ fails because it calls
‘directory-files-recursively’ on the directory, which fails because of
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28567.  To fix this, run the
entire test in a new subdirectory of ‘temporary-file-directory’, which is
guaranteed to not contain any inaccessible directories.
tests/markdown-test.el