summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-20 13:32:53 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-20 14:01:14 -0600
commitd015cb475e7898d86a02ed258bada5b25fe81326 (patch)
tree5c6d785d379b2aa48a15264625186650c2e809d9 /tmac
parent603daf68446c83af5e6cdc87e6b3b651a7f2e4c2 (diff)
downloadgroff-git-d015cb475e7898d86a02ed258bada5b25fe81326.tar.gz
[man]: Improve portability of a test.1.23.0.rc3
* tmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh: Improve portability of script by using shell constructs instead of the nonstandard GNU coreutils 'seq' utility. Resolves test failure on Solaris 10. * HACKING: Document this problem.
Diffstat (limited to 'tmac')
-rwxr-xr-xtmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh b/tmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh
index b39249456..3c30cd48d 100755
--- a/tmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh
+++ b/tmac/tests/an_TS-do-not-keep-tables-when-cR-set.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2020 Free Software Foundation, Inc.
+# Copyright (C) 2020-2023 Free Software Foundation, Inc.
#
# This file is part of groff.
#
@@ -42,7 +42,7 @@ is set.
.
.TS
l.
-'$(seq 53)'
+'$(n=1; while [ $n -le 53 ]; do echo $n; n=$(( n + 1 )); done)'
.TE'
OUTPUT=$(printf "%s\n" "$EXAMPLE" | "$groff" -Tascii -P-cbou -t -man)