Index: snapshot/win/end_to_end_test.py |
diff --git a/snapshot/win/end_to_end_test.py b/snapshot/win/end_to_end_test.py |
index ddf48ef2bb4cc0ed461e9bfd812eab6c361cfeee..f3172ba7a79630354e0077375ed36b01db2c97cb 100644 |
--- a/snapshot/win/end_to_end_test.py |
+++ b/snapshot/win/end_to_end_test.py |
@@ -221,12 +221,14 @@ def RunTests(cdb_path, |
out.Check('LastStatusValue: \(NTSTATUS\) 0xc000000f - {File Not Found} The ' |
'file %hs does not exist.', '!gle gets last ntstatus') |
- out = CdbRun(cdb_path, dump_path, '!locks') |
- out.Check(r'CritSec crashy_program!crashpad::`anonymous namespace\'::' |
- r'g_test_critical_section', 'lock was captured') |
- if platform.win32_ver()[0] != '7': |
- # We can't allocate CRITICAL_SECTIONs with .DebugInfo on Win 7. |
- out.Check(r'\*\*\* Locked', 'lock debug info was captured, and is locked') |
+ if False: |
+ # TODO(scottmg): Re-enable when we grab ntdll!RtlCriticalSectionList. |
+ out = CdbRun(cdb_path, dump_path, '!locks') |
+ out.Check(r'CritSec crashy_program!crashpad::`anonymous namespace\'::' |
+ r'g_test_critical_section', 'lock was captured') |
+ if platform.win32_ver()[0] != '7': |
+ # We can't allocate CRITICAL_SECTIONs with .DebugInfo on Win 7. |
+ out.Check(r'\*\*\* Locked', 'lock debug info was captured, and is locked') |
out = CdbRun(cdb_path, dump_path, '!handle') |
out.Check(r'\d+ Handles', 'captured handles') |