groff-commit
[Top][All Lists]
Advanced

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

[groff] 09/35: [tests]: Add annotations to preconv seek checks.


From: G. Branden Robinson
Subject: [groff] 09/35: [tests]: Add annotations to preconv seek checks.
Date: Tue, 21 Jun 2022 14:26:28 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 9cfe9594a3134de9e7c7981aeb952b994959139a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Jun 19 02:42:18 2022 -0500

    [tests]: Add annotations to preconv seek checks.
---
 src/preproc/preconv/tests/do-not-seek-the-unseekable.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh 
b/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
index 2d0b7440..2b1142d5 100755
--- a/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
+++ b/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
@@ -40,10 +40,14 @@ output=$(printf '' | "$preconv" -d - 2>&1)
 echo "$output" | grep -q "stream is not seekable" || wail
 
 # /dev/stdin might not exist in a chroot.  Or, if it's not (a symbolic
-# link to) a character special device, the next test will not be valid.
+# link to) a character special device, the next test will not be valid,
+# as when using GNU Make's `-j` option.
+#
 # Similarly, we must have a controlling terminal.
 test -z "$fail"
+echo "skipping if /dev/stdin is not a character device" >&2
 test -c /dev/stdin || exit 77 # skip
+echo "skipping if there is no controlling terminal" >&2
 test "$(tty)" != "not a tty" || exit 77 # skip
 
 echo "testing seekability of standard input stream" >&2



reply via email to

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