]> gitweb.factorcode.org Git - factor.git/commitdiff
Merge branch 'master' of git://factorcode.org/git/factor
authorDaniel Ehrenberg <ehrenbed@carleton.edu>
Tue, 18 Mar 2008 21:02:48 +0000 (17:02 -0400)
committerDaniel Ehrenberg <ehrenbed@carleton.edu>
Tue, 18 Mar 2008 21:02:48 +0000 (17:02 -0400)
1  2 
extra/io/unix/launcher/launcher-tests.factor

index 5370817d2f0c7b5979a579cf1f89891c77e6ccab,6fa8c913aad962cf17255f6a45d35557e009c0d2..9e19245d010d364c7446083d6fe2e6563f52a61f
mode 100644,100755..100755
@@@ -1,6 -1,6 +1,6 @@@
  IN: io.unix.launcher.tests
  USING: io.files tools.test io.launcher arrays io namespaces
 -continuations math io.encodings.ascii io.encodings.latin1
 +continuations math io.encodings.binary io.encodings.ascii
  accessors kernel sequences ;
  
  [ ] [
@@@ -34,7 -34,7 +34,7 @@@
      ascii <process-stream> contents
  ] unit-test
  
- [ "" ] [
+ [ f ] [
      <process>
          "cat"
          "launcher-test-1" temp-file
@@@ -55,7 -55,7 +55,7 @@@
      try-process
  ] unit-test
  
- [ "" ] [
+ [ f ] [
      "cat"
      "launcher-test-1" temp-file
      2array
@@@ -64,7 -64,7 +64,7 @@@
  
  [ ] [
      2 [
 -        "launcher-test-1" temp-file ascii <file-appender> [
 +        "launcher-test-1" temp-file binary <file-appender> [
              <process>
                  swap >>stdout
                  "echo Hello" >>command
@@@ -84,7 -84,7 +84,7 @@@
      <process>
          "env" >>command
          { { "A" "B" } } >>environment
 -    latin1 <process-stream> lines
 +    ascii <process-stream> lines
      "A=B" swap member?
  ] unit-test
  
@@@ -93,5 -93,5 +93,5 @@@
          "env" >>command
          { { "A" "B" } } >>environment
          +replace-environment+ >>environment-mode
 -    latin1 <process-stream> lines
 +    ascii <process-stream> lines
  ] unit-test