summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2017-01-27 14:50:26 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-01-27 14:50:26 -0600
commitcb113eb0c0d0dce7c9a2709e76e07a353efa7d1d (patch)
tree981f5fe4d7e172ff38ad76eba87730bd42ad928b /tests
parent4178f5aee6936bd07863c84873a6ef4d5d36fba1 (diff)
parentc06d9d7717ee144ed8b7edd201ef09c2bb4f9b10 (diff)
Merge "tests: use datadir for sound files" into 14
Diffstat (limited to 'tests')
-rw-r--r--tests/test_voicemail_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_voicemail_api.c b/tests/test_voicemail_api.c
index fc371bad9..8c173d065 100644
--- a/tests/test_voicemail_api.c
+++ b/tests/test_voicemail_api.c
@@ -462,7 +462,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;