test: add windows-only uv_fs_stat regression test
This commit is contained in:
parent
74cff551d5
commit
f9b478cfd8
@ -1293,6 +1293,9 @@ TEST_IMPL(fs_stat_root) {
|
|||||||
int r;
|
int r;
|
||||||
uv_loop_t* loop = uv_default_loop();
|
uv_loop_t* loop = uv_default_loop();
|
||||||
|
|
||||||
|
r = uv_fs_stat(loop, &stat_req, "\\", NULL);
|
||||||
|
ASSERT(r == 0);
|
||||||
|
|
||||||
r = uv_fs_stat(loop, &stat_req, "c:\\", NULL);
|
r = uv_fs_stat(loop, &stat_req, "c:\\", NULL);
|
||||||
ASSERT(r == 0);
|
ASSERT(r == 0);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user