diff options
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; |