Chromium Code Reviews| Index: tests/standalone/io/dart_std_io_pipe_test.dart |
| diff --git a/tests/standalone/io/dart_std_io_pipe_test.dart b/tests/standalone/io/dart_std_io_pipe_test.dart |
| index daf5c098ee423d8a0795103cfe3d3e0d95a63cec..956b1d660a0a6076a891215c65c52c7b81b241ed 100644 |
| --- a/tests/standalone/io/dart_std_io_pipe_test.dart |
| +++ b/tests/standalone/io/dart_std_io_pipe_test.dart |
| @@ -40,7 +40,12 @@ void test(String shellScript, String dartScript, String type, bool devNull) { |
| String redirectOutFile = "${dir.path}/redirect"; |
| String executable = new Options().executable; |
| List args = |
| - [executable, dartScript, type, pipeOutFile, redirectOutFile]; |
| + [executable, |
| + dartScript, |
| + type, |
| + pipeOutFile, |
| + redirectOutFile, |
| + devNull ? "terminal" : "file"]; |
| var future = Process.start(shellScript, args); |
| future.then((process) { |
| process.exitCode.then((exitCode) { |
| @@ -105,9 +110,9 @@ main() { |
| shellScript = new File("../tests/standalone/io/dart_std_io_pipe_test.sh"); |
| } |
| // Get the Dart script file which echoes stdin to stdout or stderr or both. |
| - var scriptFile = new File("tests/standalone/io/process_std_io_script.dart"); |
| + var scriptFile = new File("tests/standalone/io/dart_std_io_pipe_script.dart"); |
| if (!scriptFile.existsSync()) { |
| - scriptFile = new File("../tests/standalone/io/process_std_io_script.dart"); |
| + scriptFile = new File("../tests/standalone/io/dart_std_io_pipe_script.dart"); |
|
Mads Ager (google)
2013/04/05 05:34:28
long line
Søren Gjesse
2013/04/09 11:35:20
Done.
|
| } |
| // Run the shell script. |