; Fix man-tests on Solaris

* test/lisp/man-tests.el (man-tests-Man-translate-references): Use
the value of Man-specified-section-option, to avoid failures on
Solaris.  (Bug#81474)
This commit is contained in:
Eli Zaretskii 2026-09-06 21:00:26 +03:00
parent 9463931dc6
commit 7a796da1a6

View file

@ -167,9 +167,9 @@ DESCRIPTION
"\"basename\""
"basename")))
(should (equal (Man-translate-references "basename(3)")
"3 basename"))
(concat Man-specified-section-option "3 basename")))
(should (equal (Man-translate-references "basename(3v)")
"3v basename"))
(concat Man-specified-section-option "3v basename")))
(should (equal (Man-translate-references ";id")
(if (memq system-type '(ms-dos windows-nt))
"\";id\""