RegressionTests__OperatingSystemTest.st
changeset 2224 b00d766d6c9d
parent 2160 f2b59e219ee5
--- a/RegressionTests__OperatingSystemTest.st	Thu May 02 13:34:29 2019 +0200
+++ b/RegressionTests__OperatingSystemTest.st	Thu May 02 13:42:56 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/regression' }"
 
 "{ NameSpace: RegressionTests }"
@@ -38,7 +40,7 @@
 
     targetFile := self targetFile.
 
-    OperatingSystem executeCommand:aCommand, ' > ', targetFile pathName.
+    OperatingSystem executeCommand:aCommand, ' > "', targetFile pathName, '"'.
     expected := targetFile contentsOfEntireFile.
 
     outStr := ActorStream new.
@@ -54,6 +56,8 @@
         inDirectory:nil
         lineWise:true
         onError:[:status | exitStatus := status].
+
+    "Modified: / 02-05-2019 / 13:42:28 / Stefan Reise"
 !
 
 helperCommandOutput1WithCommand:aCommand
@@ -61,7 +65,7 @@
 
     targetFile := self targetFile.
 
-    OperatingSystem executeCommand:aCommand, ' > ', targetFile pathName.
+    OperatingSystem executeCommand:aCommand, ' > "', targetFile pathName, '"'.
     expected := targetFile contentsOfEntireFile.
 
     1 to:50 do:[:counter |
@@ -78,6 +82,8 @@
         self assert:(errStr contents isEmpty).
         self assert:(exitStatus isNil).
     ].
+
+    "Modified: / 02-05-2019 / 13:42:44 / Stefan Reise"
 !
 
 helperCommandOutput2WithCommand:aCommand