Commit Graph

4 Commits

Author SHA1 Message Date
Livia Medeiros
6a68794577
test: use tmpdir.resolve() in fs tests
PR-URL: https://github.com/nodejs/node/pull/49126
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-08-15 13:45:24 +00:00
Livia Medeiros
8f8ce2505d
test: loosen test for negative timestamps in test-fs-stat-date
PR-URL: https://github.com/nodejs/node/pull/44707
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2022-10-07 16:22:39 +00:00
Livia Medeiros
86276d3e76
test: add filesystem check to test-fs-stat-date.mjs
PR-URL: https://github.com/nodejs/node/pull/44174
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-08-14 11:12:20 +00:00
Livia Medeiros
5d8281e81d
fs: use signed types for stat data
This allows to support timestamps before 1970-01-01.
On Windows, it's not supported due to Y2038 issue.

PR-URL: https://github.com/nodejs/node/pull/43714
Fixes: https://github.com/nodejs/node/issues/43707
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-07-18 16:35:14 +01:00