URL:
  <https://savannah.gnu.org/bugs/?67927>

                 Summary: [groff] test for lj4-device fails
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Sat 17 Jan 2026 10:07:35 PM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: Test
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 17 Jan 2026 10:07:35 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: [groff] test for lj4-device fails

  Reported in bug #67916.

  The expected output is not correct.

  A difference shows

---
/home/bg/git/groff/src/roff/groff/tests/lj4-device-smoke-test.sh        
2025-12-22
19:12:43.524637805 +0000
+++ ./lj4-device-smoke-test.sh  2025-12-22 08:18:35.478926131 +0000
@@ -21,13 +21,13 @@ groff="${abs_top_builddir:-.}/test-groff
 
 # Expected output:
 #0000060   0   V esc   *   p   9   0   0   x   2   0   0   Y   H   e   l
-#0000100   l   o esc   *   p   -   9   X   , esc   *   p   +   4   9   X
-#0000120   w esc   *   p   -   9   X   o   r   l   d   !  ff esc   E
+#0000100   l   l   o esc   *   p   -   9   X   , esc   *   p   +   4   9
+#0000120   X   w esc   *   p   -   9   X   o   r   l   d   !  ff esc   E
 
 output=$(echo "Hello, world!" | "$groff" -T lj4 | od -t a)
 echo "$output" | grep '^0000060'
 echo "$output" | grep '^00001[02]0'
-echo "$output" | grep -Eq '^0000060.*H +e +l'            || exit 1
+echo "$output" | grep -Eq '^0000060.*Y +H +e'            || exit 1
 echo "$output" | grep -Eq '^0000100.*l +o.* +,'          || exit 1
 echo "$output" | grep -Eq '^0000120.*w.* +o +r +l +d +!' || exit 1









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67927>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to