Message143196
> the test must be skipped where os.fork() isn't available (namely, under Windows)
Done, although I still humbly suggest telling windows to bugger off ;)
> I would do os.read(fd, 100) (or some other large value) rather than os.read(fd, 6), so that the test doesn't depend on the exact length of the random sequences produced
100 is no different than 6 (same potential exists); better to just use the length from the parent side access to the PRNG. That leaves open the unlikely scenario of child returning 7 chars, parent 6, and child/parent agreeing on the first 6... which would very likely be a bug anyways. |
|
Date |
User |
Action |
Args |
2011-08-30 02:07:48 | ferringb | set | recipients:
+ ferringb, ncoghlan, pitrou |
2011-08-30 02:07:48 | ferringb | set | messageid: <1314670068.06.0.54106902457.issue12856@psf.upfronthosting.co.za> |
2011-08-30 02:07:47 | ferringb | link | issue12856 messages |
2011-08-30 02:07:47 | ferringb | create | |
|