Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Testing interactive features (Re: capturing output of !! not working)



On Mar 23,  9:12pm, Bart Schaefer wrote:
}
} ... a patch to comptest for the Test/X01* failure with no TTY.
} 
} -    (( first++ )) && read -t 0.011 -k 1 < /dev/null
} +    (( first++ )) && read -t 0.011 -u 0 -k 1 < /dev/null

Well, that shuts up the error message, but it also causes the 0.011
second timeout to be ignored.  The test still succeeds for me, but
should get a more thorough examination.

Maybe we just needed -u 0 *instead* of -t all along.



Messages sorted by: Reverse Date, Date, Thread, Author