Permalink
Browse files

# Added missing changeset

git-svn-id: svn://pureenergy.cc/systemProcess/trunk@21 31603df9-db43-4f3c-b741-60c6c1c776c2
  • Loading branch information...
1 parent b9c2e56 commit f08259fd7f03919886d14dbda81a0c9be6c86c51 @kore kore committed Jul 27, 2010
Showing with 2 additions and 12 deletions.
  1. +2 −12 tests/systemProcessTests.php
@@ -102,12 +102,7 @@ public function testStdoutOutputRedirectionToFileBeforeArgument()
public function testSimplePipe()
{
- if ( self::$win )
- {
- $this->markTestSkipped( 'Test skipped, because Windows does not know `cat`.' );
- }
-
- $outputProcess = new pbsSystemProcess( 'cat' );
+ $outputProcess = new pbsSystemProcess( 'php tests/bin/cat' );
$process = new pbsSystemProcess( 'php tests/bin/echo' );
$process->argument( 'foobar' )
->pipe( $outputProcess );
@@ -176,12 +171,7 @@ public function testAsyncExecution()
public function testWriteToStdin()
{
- if ( self::$win )
- {
- $this->markTestSkipped( 'Test skipped, because Windows does not know `cat`.' );
- }
-
- $process = new pbsSystemProcess( 'cat' );
+ $process = new pbsSystemProcess( 'php tests/bin/cat' );
$pipes = $process->execute( true );
fwrite( $pipes[0], "foobar" );
fclose( $pipes[0] );

0 comments on commit f08259f

Please sign in to comment.