summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2017-01-21 22:43:48 +0200
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2017-01-22 01:52:21 +0200
commitdbb9c8141d2a72b36334b7e9044a4fe06217c0f1 (patch)
tree1100a2731a4d34053a94a7dc8560011ef082676d /tests
parentb4fa17f51637f3e3fe9e46cbc29690ea867aca09 (diff)
tests: use datadir for sound files
Some (voicemail-related) tests API symlinks beep.gsm and other files from ast_config_AST_VAR_DIR. It should use ast_config_AST_DATA_DIR. ASTERISK-26740 #close Change-Id: Id49c56fb9e16df64b1a2b829693ca7601252df89
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 9cadf2394..77b538ef8 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;