aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cli.rs14
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 7ee217d..93bc86f 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -662,13 +662,19 @@ fn test_proper_child_process_management() {
662 // Test that the process was properly managed 662 // Test that the process was properly managed
663 // With the fixed implementation, the Child destructor runs properly 663 // With the fixed implementation, the Child destructor runs properly
664 // ensuring resource cleanup while still detaching the process 664 // ensuring resource cleanup while still detaching the process
665 665
666 // The process should complete normally and be properly reaped 666 // The process should complete normally and be properly reaped
667 // No zombie processes should remain 667 // No zombie processes should remain
668 println!("✓ Process {} managed properly with background thread approach", pid); 668 println!(
669 "✓ Process {} managed properly with background thread approach",
670 pid
671 );
669 println!("✓ Child destructor runs ensuring proper resource cleanup"); 672 println!("✓ Child destructor runs ensuring proper resource cleanup");
670 println!("✓ Process detachment achieved without std::mem::forget"); 673 println!("✓ Process detachment achieved without std::mem::forget");
671 674
672 // Test passes - proper process management achieved 675 // Test passes - proper process management achieved
673 assert!(true, "Process daemonization now uses proper resource management"); 676 assert!(
677 true,
678 "Process daemonization now uses proper resource management"
679 );
674} 680}