| Index: tests/standalone/io/socket_upgrade_to_secure_test.dart
|
| diff --git a/tests/standalone/io/socket_upgrade_to_secure_test.dart b/tests/standalone/io/socket_upgrade_to_secure_test.dart
|
| index 8c9420a1a010f119292bd84595acce672dc381ca..ba2bed03f15040716aea67d6368eb92755bcbd28 100644
|
| --- a/tests/standalone/io/socket_upgrade_to_secure_test.dart
|
| +++ b/tests/standalone/io/socket_upgrade_to_secure_test.dart
|
| @@ -8,6 +8,7 @@
|
| // VMOptions=--short_socket_read --short_socket_write
|
|
|
| import "package:expect/expect.dart";
|
| +import "package:path/path.dart";
|
| import "dart:async";
|
| import "dart:io";
|
| import "dart:isolate";
|
| @@ -211,9 +212,8 @@ void test(bool hostnameInConnect,
|
| }
|
|
|
| main() {
|
| - Path scriptDir = new Path(Platform.script).directoryPath;
|
| - Path certificateDatabase = scriptDir.append('pkcert');
|
| - SecureSocket.initialize(database: certificateDatabase.toNativePath(),
|
| + var certificateDatabase = join(dirname(Platform.script), 'pkcert');
|
| + SecureSocket.initialize(database: certificateDatabase,
|
| password: 'dartdart',
|
| useBuiltinRoots: false);
|
| test(false, false);
|
|
|