Problem: Solaris: test_delete_temp_dir() fails because of missing flock
Solution: Skip the test (Vladimír Marek)
Test_delete_temp_dir() assumes Vim can detect when its cached private temp
directory has been deleted, which depends on flock/dirfd support. Solaris
does not provide flock(), so Vim keeps using the cached temp directory path
after the directory has been deleted. Skip the test there.
closes: #20567
Signed-off-by: Vladimír Marek <vlmarek13@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
" assumes Unix has always flock/dirfd support
CheckUnix
CheckNotMac
+ if has('sun')
+ throw 'Skipped: Solaris Vim does not detect deleted tempdir without flock()'
+ endif
let a = tempname()
let dir = fnamemodify(a, ':h')
call delete(dir, 'rf')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 695,
/**/
694,
/**/