Reliable Datagram / Stream behaviour of NT Pipes

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Jan 31 05:27:07 CST 2009


juan, hi,

>>  Some nice C test cases
>> would go a long way toward a correct implementation.
>
>  ok, then that's where i'll start.  i've got a qemu'd xp so i can
> actually test that they work properly on nt.
>
>  i've just dragged the tng source code out of cvs, first time in ages,
> so there's plenty there to work from, really quite quickly.

 http://bugs.winehq.org/attachment.cgi?id=19121

 ok - i documented how to use the test code, in the bugreport.  i'll
extend it later, to cover the cross-process things you mentioned.
short reads etc.  one test i'm looking forward to adding is passing a
4-byte handle as a "number" over to another process and trying to use
that :)

are there any tests of any kind, for NamedPipes?

i don't mind writing some weird test cases if it would help.  opening
pipes read-only and writing to them, that sort of thing.

 ohh i nearly forgot about transactnamedpipe - got to add that, too -
it'll again be absolutely essential for samba-integration.

l.



More information about the wine-devel mailing list