On Thu, Apr 06, 2017 at 12:36:07PM +0100, Hazel Russman wrote:
>  [quote]The test-getlogin test is known to fail on a virtual console such as 
> the chroot environment here, but passes if run in an X terminal. [/quote]
> 
> The test that always fails (it has failed in every LFS build I've ever done!) 
> is stty-pairs. grep couldn't find any reference to "test-getlogin" in 
> test-suite.log.
> 
> -- 

Hi Hazel,

I guess you've never built in an xterm or equivalent.  I do all my
initial testing in urxvt on a desktop system.  An example:


PASS: test-getloadavg
../build-aux/test-driver: line 107: 12319 Aborted                 (core dumped) 
"$@" > $log_file 2>&1
FAIL: test-getlogin


FAIL: test-getlogin
===================

test-getlogin.c:60: assertion '! isatty (0)' failed
FAIL test-getlogin (exit status: 134)


On my server and test server I tend not to look at testsuites unless
they fail unepectedly (and on some builds I might be using ssh from
urxvt).  But for my 8.0 build for my server I was sat at a tty, and
there the failures match what you say:

PASS: tests/misc/stty-invalid.sh
FAIL: tests/misc/stty-pairs.sh
stty-row-col.sh: skipped test: can't increase window size

FAIL: tests/misc/stty-pairs
===========================

(details snipped, I seeem to have more than 20000 lines of output
from that test script, and probably only a few of them relate to the
failure)

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to