Ok, so we found the bug:
The working directory of a process is the directory from where we started the process. That is, the directory from where we launched the VM with the image.
Then, when we create a file without specifying a directory (that is, in a relative way), that file will be created in the working directory.
However, FileSystem has two problems
��1) it believes that the workingDirectory is where the image *is* and not where it was open. (Check FileSystem workingDirectory).
��2) if you try to use a relative file name FileSystem will for you the working directory he believes instead of letting the primitive do his job. (Just open your image from another directory and do 'asd.txt' asFileReference fullName).
So the fix to the test was: do not mix FileSystem with the low level File API.
I'll open a new thread discussing about the working directory.
Guille