unix: fix fs_chmod

This commit is contained in:
Ryan Dahl 2011-09-04 16:09:26 -07:00
parent 826db45343
commit 142a70292b
2 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,6 @@ int64_t uv_now(uv_loop_t* loop) {
void uv__req_init(uv_req_t* req) {
/* loop->counters.req_init++; */
req->type = UV_UNKNOWN_REQ;
req->data = NULL;
}

View File

@ -760,6 +760,7 @@ TEST_IMPL(fs_chmod) {
ASSERT(r == 0);
uv_run(loop);
ASSERT(chmod_cb_count == 1);
chmod_cb_count = 0; /* reset for the next test */
#endif
/* async chmod */