[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>" |
Date: |
Tue, 24 May 2022 23:06:54 -0400 (EDT) |
Follow-up Comment #8, bug #62506 (project groff):
The failing part of the "preconv" test is the line
test -c /dev/stdin || exit 77 # skip
(In my case with "make -j2", "test -c /dev/stdin" says "not a character
device".)
Changing this test from "-c" to "-e" results in the script ending
with PASS, because the error output of "preconv" contains the text
"stream is not seekable".
"/dev/stdin" needs only to exist to continue the script otherwise if
the test were absent:
printf '\n' | ./preconv -d /dev/empty
shows
./preconv: error: can't open '/dev/empty': No such file or directory
results in "grep" not finding the "magic string" and "FAIL" would result
before "preconv" could actually do anything.
N.B.
And testing with "make -j2" and even different arguments to '-j'
reveals something.
The actual test is weather "stream is not seekable" is in the error
output of "preconv". PASS is the result if it is.
The error message from "preconv" lacks information about __FILE__ and
__LINE__.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62506>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", Bjarni Ingi Gislason, 2022/05/22
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/22
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", Bjarni Ingi Gislason, 2022/05/22
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/22
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", Bjarni Ingi Gislason, 2022/05/23
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/24
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/24
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/24
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>",
Bjarni Ingi Gislason <=
- [bug #62506] do-not-seek-the-unseekable.sh: result depends on "make -j<n>", G. Branden Robinson, 2022/05/25
- [bug #62506] do-not-seek-the-unseekable.sh: should check for controlling terminal, G. Branden Robinson, 2022/05/25