[Toybox] [PATCH] pidof.test: block on sleep rather than read.

Rob Landley rob at landley.net
Thu Jan 23 22:58:14 PST 2020


On 1/23/20 11:27 PM, enh wrote:
> Can we use /dev/ptmx to get a pty and use that? I'll try that in the PST morning
> if you haven't done it yourself or explained why it doesn't work by then 😀

Happy to, if you're sure /dev/ptmx is there on the system you're running the
test on? (Half the problem is I dunno what's generic enough to be there on
target. I'm assuming /proc/self exists, but the files in there are of dubious
utility for this. There's a /dev/full and /dev/zero but no /dev/blocks, which
seems an oversight.)

Rob



More information about the Toybox mailing list