# HG changeset patch # User sr # Date 1556797376 -7200 # Node ID b00d766d6c9db8bd2e7eb25e70dc1269a710979f # Parent 9368892ee1a71c15b8ccf9b2fe9231c46c080ac9 #BUGFIX by Stefan Reise class: RegressionTests::OperatingSystemTest changed: #helperActorStreamWithCommand: #helperCommandOutput1WithCommand: diff -r 9368892ee1a7 -r b00d766d6c9d 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