Index: tests/standalone/io/certificate_test.dart |
diff --git a/tests/standalone/io/certificate_test.dart b/tests/standalone/io/certificate_test.dart |
index fb5b423504da26cd1db3531122ea4a3078c6564b..979ead7e6af52a323385a6d21e50d844073488cf 100644 |
--- a/tests/standalone/io/certificate_test.dart |
+++ b/tests/standalone/io/certificate_test.dart |
@@ -21,9 +21,9 @@ void main() { |
server.port.toString(), |
join(scriptDir, 'pkcert', 'myauthority.pem')]); |
}).then((ProcessResult result) { |
- if (result.exitCode != 0) { |
+ if (result.exitCode != 0 || "SUCCESS\n" != result.stdout) { |
print("Client failed with exit code ${result.exitCode}"); |
- print(" stdout:"); |
+ print(" stdout (expects \"SUCCESS\\n\"):"); |
print(result.stdout); |
print(" stderr:"); |
print(result.stderr); |