NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/53996: tip(1) fails to handle EOF on stdin
The following reply was made to PR bin/53996; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/53996: tip(1) fails to handle EOF on stdin
Date: Fri, 22 Feb 2019 19:17:28 +0300
On Fri, Feb 22, 2019 at 16:14:02 +0200, Andreas Gustafsson wrote:
> Valery Ushakov wrote:
> > Please, can you provide a minimized test case (p/expect script or
> > something like that that).
>
> To what end? The bug is obvious on inspection and it will take less
> time to fix it than to construct a minimized test case for. Thus,
> if I decide to spend more time on it, I'd rather just fix it.
From your description it sounded like the minimized test case should
be like a couple lines of python, like, in pseudocode
spawn("tip")
close_pty()
and since you work with pexpect you presumably already know how these
"spawn" and "close_pty" are really spelled, so it shouldn't be that
much of a trouble.
Is it more involved then that?
-uwe
Home |
Main Index |
Thread Index |
Old Index