From f9b478cfd8e52aed25cb0968a753d5aef993f657 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 28 Jan 2012 16:51:05 +0100 Subject: [PATCH] test: add windows-only uv_fs_stat regression test --- test/test-fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-fs.c b/test/test-fs.c index 1601ac442..b88636b01 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -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);