1 rizwank 1.1 /*
2 * Unit tests for named pipe functions in Wine
3 *
4 * Copyright (c) 2002 Dan Kegel
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #include <assert.h>
22 rizwank 1.1 #include <stdarg.h>
23 #include <stdlib.h>
24 #include <stdio.h>
25 #include <time.h>
26
27 #include <windef.h>
28 #include <winbase.h>
29 #include <winsock.h>
30
31 #ifndef STANDALONE
32 #include "wine/test.h"
33 #else
34 #include <assert.h>
35 #define START_TEST(name) main(int argc, char **argv)
36 #define ok(condition, msg) \
37 do { \
38 if(!(condition)) \
39 { \
40 fprintf(stderr,"failed at %d\n",__LINE__); \
41 exit(0); \
42 } \
43 rizwank 1.1 } while(0)
44
45 #define todo_wine
46 #endif
47
48 #include <wtypes.h>
49 #include <winerror.h>
50
51 static void test_NamedPipe_2(void)
52 {
|