Chromium Code Reviews| Index: tests/standalone/io/file_system_links_test.dart |
| diff --git a/tests/standalone/io/file_system_links_test.dart b/tests/standalone/io/file_system_links_test.dart |
| index 3179d7df0b4fc80e5fd8415d4604bb57ff06e366..520f54ac863a906891d78339e800acc8a22b4fa6 100644 |
| --- a/tests/standalone/io/file_system_links_test.dart |
| +++ b/tests/standalone/io/file_system_links_test.dart |
| @@ -7,18 +7,7 @@ import "dart:isolate"; |
| createLink(String dst, String link, bool symbolic, void callback()) { |
|
nweiz
2013/03/08 20:26:41
The "symbolic" parameter no longer means anything.
Bill Hesse
2013/03/11 09:25:59
Removed. This removes a test for hard linking, bu
|
| - var args = [ symbolic ? '-s' : '', dst, link ]; |
| - var script = 'tests/standalone/io/ln.sh'; |
| - if (!new File(script).existsSync()) { |
| - script = '../$script'; |
| - } |
| - Process.run(script, args).then((result) { |
| - if (result.exitCode == 0) { |
| - callback(); |
| - } else { |
| - throw new Exception('link creation failed'); |
| - } |
| - }); |
| + new Link(link).create(dst, linkRelative: true).then((_) => callback()); |
| } |