File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/hyperlight_host/examples/guest-debugging Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ mod tests {
139139 let features = "gdb" ;
140140
141141 // build it before running to avoid a race condition below
142- let mut guest_child = Command :: new ( "cargo" )
142+ Command :: new ( "cargo" )
143143 . arg ( "build" )
144144 . arg ( "--example" )
145145 . arg ( "guest-debugging" )
@@ -165,6 +165,7 @@ mod tests {
165165 thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
166166
167167 let mut gdb = Command :: new ( GDB_COMMAND )
168+ . arg ( "-nx" ) // Don't load any .gdbinit files
168169 . arg ( "--nw" )
169170 . arg ( "--batch" )
170171 . arg ( "-x" )
@@ -261,7 +262,7 @@ mod tests {
261262
262263 set pagination off
263264 set logging file {out_file_path}
264- set logging on
265+ set logging enabled on
265266
266267 break hyperlight_main
267268 commands
@@ -273,7 +274,7 @@ mod tests {
273274
274275 continue
275276
276- set logging off
277+ set logging enabled off
277278 quit
278279 "
279280 ) ;
@@ -309,7 +310,7 @@ mod tests {
309310
310311 set pagination off
311312 set logging file {out_file_path}
312- set logging on
313+ set logging enabled on
313314
314315 break main.rs:simpleguest::use_sse2_registers
315316 commands 1
@@ -325,7 +326,7 @@ mod tests {
325326
326327 continue
327328
328- set logging off
329+ set logging enabled off
329330 quit
330331 "
331332 ) ;
You can’t perform that action at this time.
0 commit comments