test: add windows-only uv_fs_stat regression test

This commit is contained in:
Ben Noordhuis 2012-01-28 16:51:05 +01:00
parent 74cff551d5
commit f9b478cfd8

View File

@ -1293,6 +1293,9 @@ TEST_IMPL(fs_stat_root) {
int r;
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);
ASSERT(r == 0);