File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
regress/unittests/win32compat Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ file_blocking_io_tests()
41
41
w = pipeio [1 ];
42
42
ret = write (r , small_send_buf , strlen (small_send_buf ));
43
43
ASSERT_INT_EQ (ret , -1 );
44
- ASSERT_INT_EQ (errno , EBADF );
44
+ ASSERT_INT_EQ (errno , EACCES );
45
45
ret = read (w , small_recv_buf , SMALL_RECV_BUF_SIZE );
46
46
ASSERT_INT_EQ (ret , -1 );
47
- ASSERT_INT_EQ (errno , EBADF );
47
+ ASSERT_INT_EQ (errno , EACCES );
48
48
ret = write (w , small_send_buf , strlen (small_send_buf ));
49
49
ASSERT_INT_EQ (ret , strlen (small_send_buf ));
50
50
ret = read (r , small_recv_buf , SMALL_RECV_BUF_SIZE );
Original file line number Diff line number Diff line change 51
51
#ifdef WIN32_FIXME
52
52
#undef GSSAPI
53
53
#undef KRB5
54
- #define ECONNABORTED WSAECONNABORTED
55
- #define ECONNREFUSED WSAECONNREFUSED
56
54
#endif
57
55
58
56
#include <sys/types.h>
You can’t perform that action at this time.
0 commit comments