diff --git a/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc b/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc index 77692914be04c..fc196bb847880 100644 --- a/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc +++ b/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc @@ -41,7 +41,7 @@ void VMServiceObject::GetContents(LazyEntryVector* out_vector) const { std::vector files; if (!ReadDirContents(kPortDir, &files)) { FX_LOGF(ERROR, LOG_TAG, - "Failed to read Dart VM Service port directory '%s': %s", kPortDir, + "Failed to read Dart VM service port directory '%s': %s", kPortDir, strerror(errno)); return; } diff --git a/shell/testing/observatory/launcher.dart b/shell/testing/observatory/launcher.dart index c3434c729fa21..2603e359c4b0e 100644 --- a/shell/testing/observatory/launcher.dart +++ b/shell/testing/observatory/launcher.dart @@ -35,7 +35,7 @@ class ShellProcess { Uri? _extractVMServiceUri(String str) { final listeningMessageRegExp = RegExp( - r'(?:Observatory|The Dart VM Service is) listening on ((http|//)[a-zA-Z0-9:/=_\-\.\[\]]+)', + r'(?:Observatory|The Dart VM service is) listening on ((http|//)[a-zA-Z0-9:/=_\-\.\[\]]+)', ); final match = listeningMessageRegExp.firstMatch(str); if (match != null) { diff --git a/testing/android_systrace_test.py b/testing/android_systrace_test.py index 0d4606f8853e2..3bc1bd8f56ddc 100755 --- a/testing/android_systrace_test.py +++ b/testing/android_systrace_test.py @@ -61,7 +61,7 @@ def LaunchPackage(package_name, activity_name, adb_path='adb'): '%s/%s' % (package_name, activity_name)], stderr=subprocess.STDOUT) for line in logcat.stdout: print('>>>>>>>> ' + line.strip()) - if ('Observatory listening' in line) or ('Dart VM Service is listening' in line): + if ('Observatory listening' in line) or ('Dart VM service is listening' in line): logcat.kill() break