#BUGFIX by Stefan Reise
authorsr
Thu, 02 May 2019 13:42:56 +0200
changeset 2224 b00d766d6c9d
parent 2223 9368892ee1a7
child 2225 72fb9427de5b
#BUGFIX by Stefan Reise class: RegressionTests::OperatingSystemTest changed: #helperActorStreamWithCommand: #helperCommandOutput1WithCommand:
RegressionTests__OperatingSystemTest.st
--- 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