| Index: tests/standalone/io/file_read_special_device_test.dart
|
| diff --git a/tests/standalone/io/file_read_special_device_test.dart b/tests/standalone/io/file_read_special_device_test.dart
|
| index d9880f346aa8284ca2a678e25894c283fdc4d31c..a0455108e5396e7fe09c651d42b15ecd0162e93b 100644
|
| --- a/tests/standalone/io/file_read_special_device_test.dart
|
| +++ b/tests/standalone/io/file_read_special_device_test.dart
|
| @@ -3,11 +3,11 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import 'package:expect/expect.dart';
|
| +import 'package:path/path.dart';
|
| import 'dart:io';
|
|
|
| void openAndWriteScript(String script) {
|
| - var dir = new Path(Platform.script).directoryPath;
|
| - script = "$dir/$script";
|
| + script = join(dirname(Platform.script), script);
|
| var executable = Platform.executable;
|
| var file = script; // Use script as file.
|
| Process.start("bash", ["-c", "$executable $script < $file"]).then((process) {
|
|
|