neovim/test/unit/os
Justin M. Keyes f50135a32e
feat: stdpath('run'), /tmp/nvim.user/ #18993
Problem:
- Since c57f6b28d7 #8519, sockets are created in ~/.local/… but XDG
  spec says: "XDG_RUNTIME_DIR: Must be on the local filesystem", which
  implies that XDG_STATE_DIR is potentially non-local.
- Not easy to inspect Nvim-created temp files (for debugging etc).

Solution:
- Store sockets in stdpath('run') ($XDG_RUNTIME_DIR).
- Establish "/tmp/nvim.user/" as the tempdir root shared by all Nvims.
- Make ok() actually useful.
- Introduce assert_nolog().

closes #3517
closes #17093
2022-06-30 04:16:46 -07:00
..
env_spec.lua feat: stdpath('run'), /tmp/nvim.user/ #18993 2022-06-30 04:16:46 -07:00
fileio_spec.lua Merge branch 'master' into s-dash-stdin 2017-12-03 16:49:30 +03:00
fs_spec.lua chore: fix typos (#16816) 2022-01-04 11:07:40 -07:00
shell_spec.lua test: remove references to misc1.c 2021-12-11 07:10:01 +08:00
users_spec.lua feat: stdpath('run'), /tmp/nvim.user/ #18993 2022-06-30 04:16:46 -07:00