[asterisk-commits] sip_tls_register: Fix tls paths (testsuite[19])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 12 06:11:30 CDT 2022


George Joseph has submitted this change. ( https://gerrit.asterisk.org/c/testsuite/+/18773 )

Change subject: sip_tls_register: Fix tls paths
......................................................................

sip_tls_register: Fix tls paths

Updated the test to use relative paths for the tls_cert
and tls_key files.

Change-Id: Ia1c809bcfc69aec460f64453fcf81c793cccd512
---
M tests/channels/SIP/sip_tls_register/run-test
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit
  Friendly Automation: Verified



diff --git a/tests/channels/SIP/sip_tls_register/run-test b/tests/channels/SIP/sip_tls_register/run-test
index 71baf62..de133eb 100755
--- a/tests/channels/SIP/sip_tls_register/run-test
+++ b/tests/channels/SIP/sip_tls_register/run-test
@@ -85,8 +85,8 @@
             '-p': '5061',
             '-s': 'SIP/v4-in',
             '-t': 'ln',
-            '-tls_cert': '%s/configs/keys/serverA.crt' % self.test_name,
-            '-tls_key': '%s/configs/keys/serverA.key' % self.test_name,
+            '-tls_cert': '../configs/keys/serverA.crt',
+            '-tls_key': '../configs/keys/serverA.key',
         }
 
         scenario = SIPpScenario("tests/channels/SIP/sip_tls_register", scenario_def)

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/18773
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 19
Gerrit-Change-Id: Ia1c809bcfc69aec460f64453fcf81c793cccd512
Gerrit-Change-Number: 18773
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20220712/46aa2a2e/attachment-0001.html>


More information about the asterisk-commits mailing list