You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Resolve all failed tests for macOS compatibility
Fixed 13 previously failing tests to handle macOS vs Linux differences:
- check-ssl-expiry: Handle both GNU date and BSD date syntax for epoch conversion
- disk-usage-monitor: Fix awk variable escaping in shell context
- health-check: Properly detect and use vm_stat (macOS) vs free (Linux)
- health-check: Properly detect and use sysctl (macOS) vs /proc/cpuinfo (Linux)
- log-monitor: Fix help flag grep pattern
- log-rotation: Handle stat -f (macOS) vs stat -c (Linux) for file size
- monitor-open-ports: Properly handle network command output with shell escaping
- sonarqube-slack-notify: Split curl and webhook URL checks into separate assertions
- system-monitoring: Detect top -l (macOS) vs top -bn (Linux) for CPU usage
- system-monitoring: Use vm_stat on macOS, free on Linux for memory
- system-resource-monitor: Handle platform-specific top command flags
- system-resource-monitor: Handle platform-specific memory commands
- utils: Accept bash 3.x (macOS default) instead of requiring 4.0+
All tests now pass: 443 tests, 0 failures, 9 skipped
Skipped tests are for platform-specific tools (chage, systemctl, apt, sonar-scanner, etc.)
0 commit comments