Fix test for Pharo6.1
MODIFY
src/PharoLauncher-Tests-Functional.package/PhLVirtualMachineManagerFunctionalTest.class/instance/testCanGetImageVersionFromFileWhenRunningExtraVM.st
src/PharoLauncher-Tests-Functional.package/PhLVirtualMachineManagerFunctionalTest.class/instance/testCanGetImageVersionFromFileWhenRunningExtraVM.st
@@ -3,8 +3,11 @@ testCanGetImageVersionFromFileWhenRunningExtraVM
| vmManager |
vmManager := PhLVirtualMachineManager forImage: Smalltalk image lastImagePath.
vmManager imageVersionFile ensureDelete.
+
self flag: 'Remove the following instruction once we based Pharo Launcher on Pharo 7: sources file comes with the image. It is actually needed so that the launched image can get environment variables from the system at startup.'.
- vmManager fetchSourcesFilesFor: '61' in: Smalltalk vmBinary parent asFileReference.
+ { vmManager compatibleVm vmFolder . Smalltalk vmBinary parent asFileReference }
+ do: [ :each | vmManager fetchSourcesFilesFor: '61' in: each ].
+
self
assert: vmManager imageVersion

Fix test for Pharo6.1