Skip to content

Commit fd75a40

Browse files
committed
fixup! fixup! test: fix test-fs-utimes on non-Y2K38 file systems
1 parent 9b7fe78 commit fd75a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-utimes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ if (!process.arch.includes('arm') &&
171171
// CentOS and probably others will use non_Y2K38_max on file systems that do
172172
// not support Y2K38. We do not see that on CI, but users do see it when
173173
// running tests locally. Refs: https://github.com/nodejs/node/issues/36591
174-
if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== Y2K38_mtime - 1) {
174+
if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== non_Y2K38_max) {
175175
assert.fail(`${mtimeStamp} unexpected`);
176176
}
177177
}

0 commit comments

Comments
 (0)