Problem: tests: The "Xm4" directory remains after running test_filetype.vim.
Test_m4_format in test_filetype.vim creates the "Xm4" directory with the 'D' flag. Then it creates two files in the "Xm4" directory. One of them, "alocal.m4," was created with the 'D' flag, so it will disappear after the test is complete. However, the other, "configure.ac," was created without any flags, so it will remain even after the test is complete. Because the parent directory "Xm4" was created with the 'D' flag, the latter "configure.ac" remains and is not empty, so it will not be deleted.
Solution: The 'R' flag is now used when creating the "Xm4" directory.
This forces the directory to be deleted regardless of its contents. As a result,flags for two files "alocal.m4" and "configure.ac" created in the directory are no longer needed, so they have been deleted.
https://github.com/vim/vim/pull/18995
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()