Skip to content

test: use tmpDir in test-fs-utimes

Rodrigo Muino Tomonari requested to merge github/fork/Trott/1 into master

test-fs-utimes was doing some tests against __filename. This made the test unreliable when multiple copies were run simultaneously. In general, tests should use files in either the tmp directory or else fixtures, so change to using common.tmpDir instead. Each copy of the test (if using test.py harness for parallel runs) will use its own directory, making the test robust again.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test fs

Merge request reports

Loading