Skip to content

Commit

Permalink
feat: adds ps to debug utils
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Oct 24, 2023
1 parent 4262285 commit e24a35d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/org.eclipse.jkube.debug/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ packages:
manager: dnf
install:
- net-tools
- procps-ng

execute: []
3 changes: 3 additions & 0 deletions scripts/test-jkube-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ assertContains "$env_variables" "GC_CONTAINER_OPTIONS= $" \
# Additional tools
netstat_version="$(dockerRun 'netstat --version')"
assertMatches "$netstat_version" 'net-tools 2.[0-9]+' || reportError "Invalid netstat (net-tools) version:\n\n$netstat_version"

ps_version="$(dockerRun 'ps --version')"
assertMatches "$ps_version" 'ps from procps-ng 3.3.[0-9]+' || reportError "Invalid ps (procps-ng) version:\n\n$ps_version"

0 comments on commit e24a35d

Please sign in to comment.