Skip to content

Commit d941254

Browse files
committed
[lldb][test] Fix var name typo in TestProcessSaveCoreMinidump
1 parent 65da32c commit d941254

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ def test_save_linux_mini_dump(self):
117117
expected_number_of_threads = process.GetNumThreads()
118118
expected_threads = []
119119
stacks_to_sp_map = {}
120-
stakcs_to_registers_map = {}
120+
stacks_to_registers_map = {}
121121

122122
for thread_idx in range(process.GetNumThreads()):
123123
thread = process.GetThreadAtIndex(thread_idx)
124124
thread_id = thread.GetThreadID()
125125
expected_threads.append(thread_id)
126126
stacks_to_sp_map[thread_id] = thread.GetFrameAtIndex(0).GetSP()
127-
stakcs_to_registers_map[thread_id] = thread.GetFrameAtIndex(
127+
stacks_to_registers_map[thread_id] = thread.GetFrameAtIndex(
128128
0
129129
).GetRegisters()
130130

@@ -138,7 +138,7 @@ def test_save_linux_mini_dump(self):
138138
expected_modules,
139139
expected_threads,
140140
stacks_to_sp_map,
141-
stakcs_to_registers_map,
141+
stacks_to_registers_map,
142142
)
143143

144144
self.runCmd(base_command + " --style=modified-memory '%s'" % (core_dirty))
@@ -149,7 +149,7 @@ def test_save_linux_mini_dump(self):
149149
expected_modules,
150150
expected_threads,
151151
stacks_to_sp_map,
152-
stakcs_to_registers_map,
152+
stacks_to_registers_map,
153153
)
154154

155155
self.runCmd(base_command + " --style=full '%s'" % (core_full))
@@ -160,7 +160,7 @@ def test_save_linux_mini_dump(self):
160160
expected_modules,
161161
expected_threads,
162162
stacks_to_sp_map,
163-
stakcs_to_registers_map,
163+
stacks_to_registers_map,
164164
)
165165

166166
options = lldb.SBSaveCoreOptions()
@@ -178,7 +178,7 @@ def test_save_linux_mini_dump(self):
178178
expected_modules,
179179
expected_threads,
180180
stacks_to_sp_map,
181-
stakcs_to_registers_map,
181+
stacks_to_registers_map,
182182
)
183183

184184
options = lldb.SBSaveCoreOptions()
@@ -195,7 +195,7 @@ def test_save_linux_mini_dump(self):
195195
expected_modules,
196196
expected_threads,
197197
stacks_to_sp_map,
198-
stakcs_to_registers_map,
198+
stacks_to_registers_map,
199199
)
200200

201201
# Minidump can now save full core files, but they will be huge and
@@ -214,7 +214,7 @@ def test_save_linux_mini_dump(self):
214214
expected_modules,
215215
expected_threads,
216216
stacks_to_sp_map,
217-
stakcs_to_registers_map,
217+
stacks_to_registers_map,
218218
)
219219

220220
self.assertSuccess(process.Kill())

0 commit comments

Comments
 (0)