From 2ff6e74c17c62f25845e0f4b0c7ad0b354e586b9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 17 Mar 2021 11:55:36 -0700 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! test: fix test-fs-utimes on non-Y2K38 file systems --- test/parallel/test-fs-utimes-y2K38.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-utimes-y2K38.js b/test/parallel/test-fs-utimes-y2K38.js index 5dc4bbcd6c5412..06c5060c65d2fc 100644 --- a/test/parallel/test-fs-utimes-y2K38.js +++ b/test/parallel/test-fs-utimes-y2K38.js @@ -1,12 +1,16 @@ 'use strict'; const common = require('../common'); + +if (common.isIBMi) { + common.skip('fs.utimesSync() currently fails on IBM i with Y2K38 values'); +} + const tmpdir = require('../common/tmpdir'); +tmpdir.refresh(); const assert = require('assert'); const fs = require('fs'); -tmpdir.refresh(); - // Check for Y2K38 support. For Windows and AIX, assume it's there. Windows // doesn't have `touch` and `date -r` which are used in the check for support. // AIX lacks `date -r`.