Skip to content

Commit a67a8b8

Browse files
committed
test updates
1 parent defe8ce commit a67a8b8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

regress/unittests/win32compat/file_tests.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ file_blocking_io_tests()
4141
w = pipeio[1];
4242
ret = write(r, small_send_buf, strlen(small_send_buf));
4343
ASSERT_INT_EQ(ret, -1);
44-
ASSERT_INT_EQ(errno, EBADF);
44+
ASSERT_INT_EQ(errno, EACCES);
4545
ret = read(w, small_recv_buf, SMALL_RECV_BUF_SIZE);
4646
ASSERT_INT_EQ(ret, -1);
47-
ASSERT_INT_EQ(errno, EBADF);
47+
ASSERT_INT_EQ(errno, EACCES);
4848
ret = write(w, small_send_buf, strlen(small_send_buf));
4949
ASSERT_INT_EQ(ret, strlen(small_send_buf));
5050
ret = read(r, small_recv_buf, SMALL_RECV_BUF_SIZE);

sshd.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
#ifdef WIN32_FIXME
5252
#undef GSSAPI
5353
#undef KRB5
54-
#define ECONNABORTED WSAECONNABORTED
55-
#define ECONNREFUSED WSAECONNREFUSED
5654
#endif
5755

5856
#include <sys/types.h>

0 commit comments

Comments
 (0)