Status: Accepted
Owner:
[hidden email]
Labels: Type-Bug Milestone-2.0
New issue 6050 by
[hidden email]: ensureDirectory looks strange
http://code.google.com/p/pharo/issues/detail?id=6050We got also a problem with the ZipTests tearDown
In Pharo 2.0 [1]:
(1 to: 100) do: [ :e |
subdir := ('directory', e asString) asFileReference.
subdir ensureDirectory.
self assert: subdir isDirectory ].
The above snippet:
* usually creates 2-3 out of the 100 directories requested
* doesn't fail until usually ~70-80th iteration (i.e. isDirectory is
returning true when there is no directory)!!
I followed the #ensureDirectory above until it hit the primitive and
everything seemed okay, but I can't debug the vm this second...
Sean
[1] Image
-----
Pharo2.0a
Latest update: #20118
Virtual Machine
---------------
/Applications/JitCocoaVM.app/Contents/MacOS/CogVM
CoInterpreter VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012,
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012,
https://git.gitorious.org/cogvm/blessed.git Commit:
043d256c0d39b78e04db8608c0ebfbf096223a3f Date: Sun Apr 15 14:18:12 2012
+0200 By: Guille <
[hidden email]>
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB<
CoInterpreter VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker