groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: tmac/tests/latin2_works.sh: Fix missing backslash.


From: G. Branden Robinson
Subject: [groff] 01/01: tmac/tests/latin2_works.sh: Fix missing backslash.
Date: Sun, 19 Feb 2023 12:54:11 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit a6c8791c2d60ddb28d4ff51a89e7811e0bef404b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Feb 19 11:35:49 2023 -0600

    tmac/tests/latin2_works.sh: Fix missing backslash.
    
    * tmac/tests/latin2_works.sh: Fix missing backslash in printf.  Solaris
      printf(1) was sensitive to this error; macOS and GNU printf were not.
      Fixes a test failure on Solaris 11.
---
 ChangeLog                  | 6 ++++++
 tmac/tests/latin2_works.sh | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 67102b141..b81c7de49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-02-19  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/tests/latin2_works.sh: Fix missing backslash in printf.
+       Solaris printf(1) was sensitive to this error; macOS and GNU
+       printf were not.  Fixes a test failure on Solaris 11.
+
 2023-02-19  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/roff/groff/tests/regression_savannah_58153.sh: Improve
diff --git a/tmac/tests/latin2_works.sh b/tmac/tests/latin2_works.sh
index 0b1ac84b8..9cadf55b7 100755
--- a/tmac/tests/latin2_works.sh
+++ b/tmac/tests/latin2_works.sh
@@ -31,7 +31,7 @@ input=$(\
     printf '\\[A ho]\\[ab]\\[/L]\\[S aa]';
     printf '\\[vS]\\[S ac]\\[T ah]\\[Z aa]\\[vZ]\\[Z a.]\n';
     printf '\\[a ho]\\[ho]\\[/l]\\[s aa]';
-    printf '\\[vs]\\[s ac]\\[t ah]\\[z aa]\[a"]\\[vZ]\\[z a.]\n';
+    printf '\\[vs]\\[s ac]\\[t ah]\\[z aa]\\[a"]\\[vZ]\\[z a.]\n';
     printf '\\[R aa]\\[A ab]\\[L aa]\\[C aa]';
     printf '\\[C ah]\\[E ho]\\[E ah]\\[D ah]\n';
     printf '\\[u0110]\\[N aa]\\[N ah]\\[O a"]';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]