[Test Breakage 2.46.0-rc0] Test t0021.35 fails on NonStop
From: <hidden>
Date: 2024-07-13 16:38:54
Here is the breakage. I included the prior test log in case there was a
dependency.
checking prerequisite: TTY
mkdir -p "$TRASH_DIRECTORY/prereq-test-dir-TTY" &&
(
cd "$TRASH_DIRECTORY/prereq-test-dir-TTY" &&
test_have_prereq PERL &&
# Reading from the pty master seems to get stuck _sometimes_
# on Mac OS X 10.5.0, using Perl 5.10.0 or 5.8.9.
#
# Reproduction recipe: run
#
# i=0
# while ./test-terminal.perl echo hi $i
# do
# : $((i = $i + 1))
# done
#
# After 2000 iterations or so it hangs.
# https://rt.cpan.org/Ticket/Display.html?id=65692
#
test "$(uname -s)" != Darwin &&
perl "$TEST_DIRECTORY"/test-terminal.perl \
sh -c "test -t 1 && test -t 2"
)
+ mkdir -p /home/randall/git/t/trash
directory.t0021-conversion/prereq-test-dir-TTY
+ cd /home/randall/git/t/trash
directory.t0021-conversion/prereq-test-dir-TTY
+ test_have_prereq PERL
+ uname -s
+ test NONSTOP_KERNEL != Darwin
+ perl /home/randall/git/t/test-terminal.perl sh -c test -t 1 && test -t 2
Can't locate IO/Pty.pm in @INC (you may need to install the IO::Pty module)
(@INC contains: /usr/lib/perl5/site_perl/5.30.3/nonstop_kernel
/usr/lib/perl5/site_perl/5.30.3 /usr/lib/perl5/5.30.3/nonstop_kernel
/usr/lib/perl5/5.30.3 /usr/lib/perl5/site_perl) at
/home/randall/git/t/test-terminal.perl line 5.
BEGIN failed--compilation aborted at /home/randall/git/t/test-terminal.perl
line 5.
error: last command exited with $?=162
prerequisite TTY not satisfied
ok 34 # skip delayed checkout shows progress by default on tty (pathspec
checkout) (missing TTY of PERL,TTY)
expecting success of 0021.35 'delayed checkout ommits progress on non-tty
(pathspec checkout)':
test_delayed_checkout_progress ! git checkout $opt
+ test_delayed_checkout_progress ! git checkout .
test_delayed_checkout_progress: test: argument expected
error: last command exited with $?=127
not ok 35 - delayed checkout ommits progress on non-tty (pathspec checkout)
#
# test_delayed_checkout_progress ! git checkout $opt
#
1..35
--
Brief whoami: NonStop&UNIX developer since approximately
UNIX(421664400)
NonStop(211288444200000000)
-- In real life, I talk too much.