On Fri, Jul 02, 2010 at 12:28:54PM +0200, Adrian Lienhard wrote:
Hi David,
Thanks a lot!
Please find my report for OS X below.
Thanks Adrian, much appreciated. I guess that I should get a Mac one of these days ;)
Image: Pharo-1.1-11406-rc3dev10.07.1 VM: Squeak 4.2.4beta1U
Loading OSProcess:
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfOSProcess'; load. ((Smalltalk at: #ConfigurationOfOSProcess) project latestVersion) load
ThisOSProcess initialize (this seems necessary, is it the right #initialize?)
In ConfigurationOfOSProcess class>>load I call the #startUp: method in ThisOSProcess. Without this the unit tests will fail until after you restart the image. This is probably a poor way to do it, but it works.
The following tests crash the VM: - UnixProcessUnixFileLockingTest - UnixProcessWin32FileLockingTest - UnixProcessTestCase
Ouch. I think this used to run without crashing on OS X.
The failures and errors of the other tests:
Failures: AioEventHandlerTestCase>>#testEnableHandleAndDisable AioEventHandlerTestCase>>#testPrimAioModuleVersionString AioEventHandlerTestCase>>#testFileWritableEvent AioEventHandlerTestCase>>#testFileReadableEvent UnixProcessAccessorTestCase>>#testChDir UnixProcessAccessorTestCase>>#testIsWritableForUserInGroup AioEventHandlerTestCase>>#testSuspendAioForSocketReadableEvent UnixProcessAccessorTestCase>>#testIsReadableForUserInGroup AioEventHandlerTestCase>>#testHandleForSocket AioEventHandlerTestCase>>#testHandleForFile AioEventHandlerTestCase>>#testSocketReadableEvent UnixProcessAccessorTestCase>>#testIsExecutableForUserInGroup
Errors: AioEventHandlerTestCase>>#testPrimAioModuleName
The Aio failures are due to AioPlugin not being present. I don't think this has ever been included in the Mac VMs (it would probably work, but I don't think anyone has tried it). It's not serious and will not affect usability of OSProcess.
I wonder whether the Mac VM includes the latest version of the OSProcess plugin?
FWIW, you can check the versions of the plugins, on my Linux box I have: OSProcess accessor osppModuleVersionString ==> '4.3.3' OSProcess accessor aioVersionString ==> '2.2.2' OSProcess accessor xdcpVersionString ==> '2.1.4' Thanks for the feedback! Dave