Those are the subtests which place a file under $tmp which by an accident is also located under /tmp. Then the paths have a common parent directory and a relative path is articulated instead of an absolute one.
A possible fix is change rel_file to be always relative.
If I execute tests under /tmp, t/unit/Test2/Harness/TestFile.t fails like this:
Those are the subtests which place a file under $tmp which by an accident is also located under /tmp. Then the paths have a common parent directory and a relative path is articulated instead of an absolute one.
A possible fix is change rel_file to be always relative.