[Asterisk-code-review] voicemail API test: use datadir for a sound file (asterisk[master])
Tzafrir Cohen
asteriskteam at digium.com
Sat Jan 21 14:51:33 CST 2017
Tzafrir Cohen has uploaded a new change for review. ( https://gerrit.asterisk.org/4755 )
Change subject: voicemail API test: use datadir for a sound file
......................................................................
voicemail API test: use datadir for a sound file
The voicemail API test symlinks beep.gsm from ast_config_AST_VAR_DIR. It
should use ast_config_AST_DATA_DIR.
ASTERISK-26740 #close
Change-Id: Id49c56fb9e16df64b1a2b829693ca7601252df89
---
M tests/test_voicemail_api.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/55/4755/1
diff --git a/tests/test_voicemail_api.c b/tests/test_voicemail_api.c
index 9cadf23..77b538e 100644
--- a/tests/test_voicemail_api.c
+++ b/tests/test_voicemail_api.c
@@ -460,7 +460,7 @@
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;
--
To view, visit https://gerrit.asterisk.org/4755
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id49c56fb9e16df64b1a2b829693ca7601252df89
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
More information about the asterisk-code-review
mailing list