gbranden pushed a commit to branch master
in repository groff.

commit 111c42a69abce60fa5c8b293b16498a2c7e16b1a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Oct 16 16:51:26 2026 -0500

    [groff]: Align test with modern groff conventions.
    
    * src/roff/groff/tests/soquiet-request-works.sh: Drop stump comment
      after license notice.  Drop "set -e" (and an angel gets its wings in
      Greg Wooledge heaven).  Align shell variable names and lettercasing
      with modern groff test script practice.  Drop "progress" message since
      this script performs only one test.  Add Vim modeline.
---
 src/roff/groff/tests/soquiet-request-works.sh | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/roff/groff/tests/soquiet-request-works.sh 
b/src/roff/groff/tests/soquiet-request-works.sh
index 14b906be1..954d70ec9 100755
--- a/src/roff/groff/tests/soquiet-request-works.sh
+++ b/src/roff/groff/tests/soquiet-request-works.sh
@@ -16,12 +16,9 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
 
 groff="${abs_top_builddir:-.}/test-groff"
 
-set -e
-
 # Keep preconv from being run.
 #
 # The "unset" in Solaris /usr/xpg4/bin/sh can actually fail.
@@ -31,10 +28,12 @@ then
     exit 77 # skip
 fi
 
-DOC='.soquiet nonexistent'
+input='.
+.soquiet nonexistent
+.'
 
-OUTPUT=$(echo "$DOC" | "$groff" -Tascii 2>&1)
-echo "$OUTPUT"
+output=$(echo "$doc" | "$groff" -Tascii 2>&1)
+echo "$output"
+test -z "$output"
 
-echo "testing that .soquiet of nonexistent file produces no error" >&2
-test -z "$OUTPUT"
+# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to