diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-02 11:56:25 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:06:34 +0200 |
commit | 0f9640a5f33d4d0c76df75cb7a6cb07baac049f0 (patch) | |
tree | 7d09fe5119b11d4d38313098e6846e2413ff0a19 /tests/scripts | |
parent | 4c5fcb743b2e512c407a09ca95d155c9e6edd2bd (diff) | |
download | weechat-0f9640a5f33d4d0c76df75cb7a6cb07baac049f0.zip |
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
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/test-scripts.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp index 92aaca9fc..96d408c2f 100644 --- a/tests/scripts/test-scripts.cpp +++ b/tests/scripts/test-scripts.cpp @@ -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; |