mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285)
The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
This commit is contained in:
@@ -160,8 +160,9 @@ TEST(Scripts, API)
|
||||
test_scripts_dir,
|
||||
DIR_SEPARATOR,
|
||||
"testapi.py");
|
||||
path_testapi_output_dir = string_eval_path_home ("%h/testapi",
|
||||
NULL, NULL, NULL);
|
||||
path_testapi_output_dir = string_eval_path_home (
|
||||
"${weechat_data_dir}/testapi",
|
||||
NULL, NULL, NULL);
|
||||
CHECK(path_testapi_output_dir);
|
||||
|
||||
api_tests_ok = 0;
|
||||
|
||||
Reference in New Issue
Block a user