[Asterisk-code-review] sip_tls_register: Fix tls paths (testsuite[certified/18.9])

George Joseph asteriskteam at digium.com
Tue Jul 12 06:11:42 CDT 2022


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

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:
  George Joseph: Looks good to me, approved; Approved for Submit



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/+/18775
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: certified/18.9
Gerrit-Change-Id: Ia1c809bcfc69aec460f64453fcf81c793cccd512
Gerrit-Change-Number: 18775
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220712/541c53be/attachment.html>


More information about the asterisk-code-review mailing list