bug#81474: 31.0.91; man-tests-Man-translate-references failure on 32-bit Solaris sparc
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Ping! > Cc: [email protected] > Date: Sat, 25 Jul 2026 12:29:19 +0300 > From: Eli Zaretskii <[email protected]> > > > Date: Fri, 24 Jul 2026 13:54:43 -0700 > > From: Paul Eggert <[email protected]> > > > > This follows up on bug#81465 "31.0.91; ‘make check’ failures on Solaris > > 10 sparc 32-bit" and I am splitting this issue off into a separate bug > > report. > > > > Here is the log of the failure: > > > > Test man-tests-Man-translate-references backtrace: > > signal(ert-test-failed (((should (equal (Man-translate-references "b > > ert-fail(((should (equal (Man-translate-references "basename(3)") "3 > > #f(compiled-function () #<bytecode -0x10d37449>)() > > #f(compiled-function () #<bytecode 0x2c3144>)() > > handler-bind-1(#f(compiled-function () #<bytecode 0x2c3144>) (t) #f( > > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > > ert-run-test(#s(ert-test :name man-tests-Man-translate-references :d > > ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ... ...)) > > ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n > > ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) ( > > ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un > > eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( > > command-line-1(("-L" ":../../emacs-31.0.91/test" "-l" "ert" "--eval" > > command-line() > > normal-top-level() > > Test man-tests-Man-translate-references condition: > > (ert-test-failed > > ((should > > (equal (Man-translate-references "basename(3)") "3 basename")) > > :form (equal "-s3 basename" "3 basename") :value nil :explanation > > (arrays-of-different-length 12 10 "-s3 basename" "3 basename" > > first-mismatch-at 0))) > > FAILED 3/4 man-tests-Man-translate-references (0.001633 sec) at > > ../../emacs-31.0.91/test/lisp/man-tests.el:164 > > Thanks, please try the patch below and tell if it fixes the problem. > If it doesn't solve the problem, please tell the value of > system-configuration on that platform. > > diff --git a/test/lisp/man-tests.el b/test/lisp/man-tests.el > index 2bdc766..5b8011c 100644 > --- a/test/lisp/man-tests.el > +++ b/test/lisp/man-tests.el > @@ -167,9 +167,9 @@ man-tests-Man-translate-references > "\"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\"" > > > >