maketest script and symlinks

(Lars Willighagen) #1

While creating a fixture I noticed that symlinks don’t seem to behave correctly in the maketest script. In loadFromDir in tacks, if the relative path of a symlink is two or more levels up, it is resolved to the top of the fixture. However, maketest inserts the generated fixture source into a subdirectory (testdir) of the actual test fixture. This invalidates such symlinks.