Skip to content

Commit 63def48

Browse files
committed
Update Sable and make LINKS test support it
1 parent 93363e4 commit 63def48

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/test-stable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ jobs:
11401140
uses: actions/checkout@v4
11411141
with:
11421142
path: sable
1143-
ref: 52397dc9e0f27c3ed197f984c00f06639870716d
1143+
ref: baed3ef9ac4550dc36a45b758436769e82e8ec58
11441144
repository: Libera-Chat/sable
11451145
- name: Install rust toolchain
11461146
uses: actions-rs/toolchain@v1

irctest/server_tests/links.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
from irctest.patma import ANYSTR, StrRe
44

55

6+
def _server_info_regexp(case: cases.BaseServerTestCase) -> str:
7+
if case.controller.software_name == "Sable":
8+
return ".+"
9+
else:
10+
return "test server"
11+
12+
613
class LinksTestCase(cases.BaseServerTestCase):
714
@cases.mark_specifications("RFC1459", "RFC2812", "Modern")
815
def testLinksSingleServer(self):
@@ -56,7 +63,7 @@ def testLinksSingleServer(self):
5663
"nick",
5764
"My.Little.Server",
5865
"My.Little.Server",
59-
StrRe("0 (0042 )?test server"),
66+
StrRe(f"0 (0042 )?{_server_info_regexp(self)}"),
6067
],
6168
)
6269

@@ -119,7 +126,7 @@ def testLinksWithServices(self):
119126
"nick",
120127
"My.Little.Server",
121128
"My.Little.Server",
122-
StrRe("0 (0042 )?test server"),
129+
StrRe(f"0 (0042 )?{_server_info_regexp(self)}"),
123130
],
124131
)
125132
self.assertMessageMatch(

workflows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ software:
249249
name: Sable
250250
repository: Libera-Chat/sable
251251
refs:
252-
stable: 52397dc9e0f27c3ed197f984c00f06639870716d
252+
stable: baed3ef9ac4550dc36a45b758436769e82e8ec58
253253
release: null
254254
devel: master
255255
devel_release: null

0 commit comments

Comments
 (0)