[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Hanging test test/install-mh/test-version-check

From: Ken Hornstein
Subject: Re: [Nmh-workers] Hanging test test/install-mh/test-version-check
Date: Tue, 18 Oct 2016 19:31:55 -0400

>I assume that it's not failing on this:
>    if script -S /bin/sh 'echo OK' /dev/null 2>&1 | egrep 'OK' >/dev/null;
>because I don't think that MacOS X script supports -S.

Yes, that's correct.

The strange thing is ... the problem is _input_ redirection.  This
works fine on MacOS X:

% script > /dev/null

This hangs script in a tight loop:

% script < /dev/null

And I'm not sure where input redirection happens (I verified that standard
input was set to /dev/null via lsof).

>Does removing the output redirection to /dev/null on lines61 help?  If
>so, that's wierd but we could deal with it. 

I'll experiment some more.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]