File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ fn test_process_tree_enrichment() {
114114 let enricher = EventEnricher :: new ( ) . expect ( "Failed to create enricher" ) ;
115115
116116 // Test that we can get parent PID
117- let _ppid = enricher. get_parent_pid ( 1 ) ; // init process
117+ let ppid = enricher. get_parent_pid ( 1 ) ; // init process
118118
119119 // PID 1 should exist on Linux
120120 #[ cfg( target_os = "linux" ) ]
@@ -126,7 +126,7 @@ fn test_process_comm_enrichment() {
126126 let enricher = EventEnricher :: new ( ) . expect ( "Failed to create enricher" ) ;
127127
128128 // Test that we can get process name
129- let _comm = enricher. get_process_comm ( std:: process:: id ( ) ) ;
129+ let comm = enricher. get_process_comm ( std:: process:: id ( ) ) ;
130130
131131 // Should get some process name
132132 #[ cfg( target_os = "linux" ) ]
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ mod linux_tests {
3535
3636 std:: thread:: sleep ( Duration :: from_millis ( 100 ) ) ;
3737
38- let events = monitor. poll_events ( ) ;
38+ let _events = monitor. poll_events ( ) ;
3939
4040 // Verify structure ready for ptrace events
4141 assert ! ( true ) ;
@@ -53,7 +53,7 @@ mod linux_tests {
5353
5454 std:: thread:: sleep ( Duration :: from_millis ( 100 ) ) ;
5555
56- let events = monitor. poll_events ( ) ;
56+ let _events = monitor. poll_events ( ) ;
5757
5858 // Just verify monitor is working
5959 assert ! ( true ) ;
You can’t perform that action at this time.
0 commit comments