diff options
author | zuul <zuul@gerrit.asterisk.org> | 2017-01-27 12:44:05 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-01-27 12:44:05 -0600 |
commit | 3eabae43c461e55d9a1a93fee961f0e69eccc129 (patch) | |
tree | 17b77cbec3a0756fc007c0ae0416e1dcb3296faf /tests | |
parent | 6f645a6d4e508ad6960fbb9825d4d26694b8087c (diff) | |
parent | dbb9c8141d2a72b36334b7e9044a4fe06217c0f1 (diff) |
Merge "tests: use datadir for sound files"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_voicemail_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_voicemail_api.c b/tests/test_voicemail_api.c index 848c6bf1e..802b6bf1b 100644 --- a/tests/test_voicemail_api.c +++ b/tests/test_voicemail_api.c @@ -460,7 +460,7 @@ static int test_vm_api_create_voicemail_files(const char *context, const char *m folder_path, snapshot->msg_number); snprintf(snd_path, sizeof(snd_path), "%s/msg%04u.gsm", folder_path, snapshot->msg_number); - snprintf(beep_path, sizeof(beep_path), "%s/sounds/en/beep.gsm", ast_config_AST_VAR_DIR); + snprintf(beep_path, sizeof(beep_path), "%s/sounds/en/beep.gsm", ast_config_AST_DATA_DIR); if (test_vm_api_create_voicemail_folder(folder_path)) { return 1; |