bhouse-nexthop opened a new pull request, #14756:
URL: https://github.com/apache/cloudstack/pull/14756

   ### Description
   
   Fixes #14755
   
   In `validate-cks-node`, the Debian/Ubuntu branch appended with 
`MISSING_PACKAGES+="$package"`, which joins every name onto element 0.
   
   | | Before | After |
   |---|---|---|
   | append | `+="$package"` | `+=("$package")` |
   | count printed | always `1` | real count |
   | message | `curlgnupg-agent...` | `curl gnupg-agent ...` |
   | exit status | 1 | 1 (unchanged) |
   
   One-line change. The RPM branch already appends correctly.
   
   Related open PRs #13714 and #13715 edit `REQUIRED_PACKAGES` in the same 
file. This PR does not touch the list, and their hunk still applies cleanly on 
top of it.
   
   ### Types of changes
   
   - [x] Bug fix (non-breaking change which fixes an issue)
   
   ### Bug Severity
   
   - [x] Minor
   
   ### How Has This Been Tested?
   
   Ran lines 20-45 of the script in bash with `OS=Ubuntu` and `dpkg` stubbed by 
a shell function:
   
   | Case | Output | Exit |
   |---|---|---|
   | 7 missing, before | `1` + names run together | 1 |
   | 7 missing, after | `7` + names separated by spaces | 1 |
   | none missing, after | `0` / `0` | 0 |
   
   ### Not in scope (pre-existing, noted for follow-up)
   
   - RPM check `rpm -qa \| grep $package` is a substring match (`curl` matches 
`libcurl`).
   - `dpkg -s` exits 0 for a removed package that still has config files.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to