| Index: tests/standalone/io/secure_no_builtin_roots_database_test.dart
|
| diff --git a/tests/standalone/io/secure_no_builtin_roots_database_test.dart b/tests/standalone/io/secure_no_builtin_roots_database_test.dart
|
| index 1affafb3e2fe45d495c3f235ab4da394f0470148..6c4c06a3fbe9082537301a73dbeca9fff34ad0ea 100644
|
| --- a/tests/standalone/io/secure_no_builtin_roots_database_test.dart
|
| +++ b/tests/standalone/io/secure_no_builtin_roots_database_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "package:expect/expect.dart";
|
| +import "package:path/path.dart";
|
| import "dart:io";
|
| import "dart:isolate";
|
| import "dart:async";
|
| @@ -24,9 +25,8 @@ void InitializeSSL() {
|
| // If the built-in root certificates aren't loaded, the connection
|
| // should signal an error. Even when an external database is loaded,
|
| // they should not be loaded.
|
| - 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);
|
| }
|
|
|