| Index: tests/standalone/io/raw_secure_server_socket_argument_test.dart
|
| diff --git a/tests/standalone/io/raw_secure_server_socket_argument_test.dart b/tests/standalone/io/raw_secure_server_socket_argument_test.dart
|
| index ee359204f0f362da8c7f7c48ea4bf4a56a2f0e13..9807cd0ed0a8fe1a0651d54994129b9969267ae8 100644
|
| --- a/tests/standalone/io/raw_secure_server_socket_argument_test.dart
|
| +++ b/tests/standalone/io/raw_secure_server_socket_argument_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";
|
| @@ -54,9 +55,8 @@ void testArguments() {
|
|
|
|
|
| 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);
|
| testArguments();
|
|
|