| Index: tests/standalone/io/https_unauthorized_test.dart
|
| diff --git a/tests/standalone/io/https_unauthorized_test.dart b/tests/standalone/io/https_unauthorized_test.dart
|
| index f415a83787508c808f29d6dcdeb1bb4d7c73ba12..6bded129ef1bc7910094987b4bb6ca086866e9cf 100644
|
| --- a/tests/standalone/io/https_unauthorized_test.dart
|
| +++ b/tests/standalone/io/https_unauthorized_test.dart
|
| @@ -4,6 +4,10 @@
|
| //
|
| // OtherResources=certificates/server_chain.pem
|
| // OtherResources=certificates/server_key.pem
|
| +// OtherResources=certificates/untrusted_server_chain.pem
|
| +// OtherResources=certificates/untrusted_server_key.pem
|
| +// OtherResources=certificates/trusted_certs.pem
|
| +// OtherResources=https_unauthorized_client.dart
|
|
|
| // This test verifies that secure connections that fail due to
|
| // unauthenticated certificates throw exceptions in HttpClient.
|
| @@ -38,9 +42,7 @@ Future<SecureServerSocket> runServer() {
|
| }
|
|
|
| void main() {
|
| - var clientScript = Platform.script
|
| - .resolve('https_unauthorized_client.dart')
|
| - .toFilePath();
|
| + var clientScript = localFile('https_unauthorized_client.dart');
|
| Future clientProcess(int port) {
|
| return Process.run(Platform.executable,
|
| [clientScript, port.toString()])
|
|
|