e56ac775ca
In a Gradle process, the user.dir property is set to the directory where the build was started. By default, if we start a child process via project.javaexec, Gradle sets its working directory to the directory of the current project. But passing Gradle's value of user.dir to that process overrides this setting. This makes tools started in a such way sensitive to directory the build is started from. Thus a test using relative paths may fail if it is started from a wrong directory. This patch fixes this issue for Kotlin/Native tests.