class: RegressionTests::VMCrashTestCase
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 19 Sep 2014 17:43:20 +0200
changeset 1199 81fcf185ef45
parent 1198 513228267cb7
child 1200 905541b3c402
class: RegressionTests::VMCrashTestCase changed: #runCase
RegressionTests__VMCrashTestCase.st
--- a/RegressionTests__VMCrashTestCase.st	Fri Sep 19 15:06:19 2014 +0200
+++ b/RegressionTests__VMCrashTestCase.st	Fri Sep 19 17:43:20 2014 +0200
@@ -193,7 +193,13 @@
         ].
     ] ensure:[ 
         (tempDir notNil and:[tempDir exists]) ifTrue:[ 
-            tempDir remove.
+            [
+                tempDir recursiveRemove.
+            ] on: Error do:[:ex |  
+                OperatingSystem isMSWINDOWSlike ifFalse:[ 
+                    ex reject.
+                ].
+            ]
         ].
     ].
 
@@ -202,7 +208,7 @@
     "
 
     "Created: / 04-09-2014 / 18:13:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 16-09-2014 / 21:06:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 19-09-2014 / 16:43:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 runCaseInternal