From 61ff1382f1c83187542368027ccd84577dfb5bd6 Mon Sep 17 00:00:00 2001 From: Daniel Pihlstrom Date: Tue, 23 May 2017 08:16:13 +0200 Subject: [PATCH] blocks as well, why not --- test/parallel/test-fs-stat.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-stat.js b/test/parallel/test-fs-stat.js index 56f96bb22e1fbf..0769f79f1c502d 100644 --- a/test/parallel/test-fs-stat.js +++ b/test/parallel/test-fs-stat.js @@ -109,9 +109,12 @@ fs.stat(__filename, common.mustCall(function(err, s) { const keys = [ 'dev', 'mode', 'nlink', 'uid', 'gid', 'rdev', 'ino', - 'size', 'blocks', 'atime', 'mtime', + 'size', 'atime', 'mtime', 'ctime', 'birthtime' ]; + if (!common.isWindows) { + keys.push('blocks', 'blksize'); + } keys.forEach(function(k) { assert.ok( json[k] !== undefined && json[k] !== null,