Skip to content

Commit

Permalink
fixup! fixup! test: fix test-fs-utimes on non-Y2K38 file systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Mar 13, 2021
1 parent 9b7fe78 commit fd75a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-utimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if (!process.arch.includes('arm') &&
// CentOS and probably others will use non_Y2K38_max on file systems that do
// not support Y2K38. We do not see that on CI, but users do see it when
// running tests locally. Refs: https://github.com/nodejs/node/issues/36591
if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== Y2K38_mtime - 1) {
if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== non_Y2K38_max) {
assert.fail(`${mtimeStamp} unexpected`);
}
}
Expand Down

0 comments on commit fd75a40

Please sign in to comment.