[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX
From: |
Bruno Haible |
Subject: |
Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX |
Date: |
Sat, 05 Jan 2019 14:25:20 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
> The tests are not supposed to hang even if the
> program being tested does.
The process hierarchy (from top to bottom) is:
gmake check
gmake check-am
gmake check-TESTS
/bin/sh -c set +e; bases='t/file.sh.log t/file-node.sh.log
t/file-nodes.sh.log t/file-node-with-dot.sh.log t/file-index.sh.log
gmake test-suite.log TEST_LOGS=t/file.sh.log t/file-node.sh.log
t/file-nodes.sh.log t/file-node-with-dot.sh.log t/file-index.sh
/bin/sh -c p='t/malformed-split.sh'; \^Jb='t/malformed-split.sh'; \^Jcase $-
in *e*) set +e;; esac; srcdirstrip=`echo "../../in
/bin/sh ../../build-aux/test-driver --test-name t/malformed-split.sh
--log-file t/malformed-split.sh.log --trs-file t/malformed
/bin/sh ../../info/t/malformed-split.sh
./pseudotty t/malformed-split.sh.pipeout
> Could you send the contents of
> info/t/malformed-split.sh.log please?
$ cat malformed-split.sh.log
+ ginfo=./ginfo --init-file ../../info/t/Infokey-config
+ INFOPATH=../../info/t/infodir
+ export INFOPATH
+ t=../../info/t
+ export t
+ + basename ../../info/t/malformed-split.sh.out
ginfo_output=t/malformed-split.sh.out
+ + basename ../../info/t/malformed-split.sh.pipein
pipein=t/malformed-split.sh.pipein
+ + basename ../../info/t/malformed-split.sh.pipeout
pty_type=t/malformed-split.sh.pipeout
+ rm -f t/malformed-split.sh.out
+ INFO_PRINT_COMMAND=>t/malformed-split.sh.out
+ export INFO_PRINT_COMMAND
+ pty_pid=0
+ LC_ALL=C
+ export LC_ALL
+ TERM=dumb
+ export TERM
+ trap cleanup 2
+ path_sep=:
+ initialization_done=0
+ run_ginfo --file malformed-split --node Two
pseudotty: getting pty master fd
pseudotty: unlocking slave device
pseudotty: getting file name of slave device...
pseudotty: /dev/pts/8
pseudotty: opening slave device
Adding more debugging statements, I see that it hangs in the line
if (!isatty (slave))
Commenting out this line fixes the issue; all 85 tests in this
directory then pass.
Note: The code in gnulib/lib/openpty.c, which is tested on many platforms,
does not contain an isatty() call in this place.
Bruno
- Re: [platform-testers] texinfo-6.5.90 pretest on CentOS 7.3, (continued)
- Re: [platform-testers] texinfo-6.5.90 pretest on OpenBSD, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on Hurd, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Gavin Smith, 2019/01/05
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX,
Bruno Haible <=
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Gavin Smith, 2019/01/05
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Bruno Haible, 2019/01/18
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Gavin Smith, 2019/01/19
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Bruno Haible, 2019/01/20
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Gavin Smith, 2019/01/23
Re: [platform-testers] texinfo-6.5.90 pretest on AIX, Bruno Haible, 2019/01/04