1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 13:23:12 +00:00
community.general/tests/unit/plugins
patchback[bot] 42325505b4
[PR #12234/7dc2441f backport][stable-13] xbps: include stdout and stderr in module output (#12278)
xbps: include `stdout` and `stderr` in module output (#12234)

* fix(xbps): add stdout/stderr to module output and fix error message typo

Include stdout and stderr from the last executed command in all
exit_json and fail_json calls so users can see the actual xbps output
when debugging failures (addresses issue #2478).



* test(xbps): add basic unit tests using uthelper

Cover install (new, already present, failure) and remove (installed,
absent) scenarios. Verifies stdout/stderr are propagated in output.



* changelog: add fragment for PR 12234



* Add version_added.



---------



(cherry picked from commit 7dc2441fc8)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-14 21:40:06 +02:00
..
become pfexec become plugin: fix broken defaults for illumos/SmartOS (#11623) 2026-04-25 21:12:36 +02:00
cache Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
callback Start opentelemetry spans on host start instead of task start (#11434) 2026-05-17 11:28:15 +02:00
connection [PR #12163/f9d4f0ad backport][stable-13] Fix incus Windows modules with ansible-core 2.21 (#12179) 2026-06-02 21:18:49 +02:00
filter Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
inventory replace list(map(...)) with comprehension (#11590) 2026-03-14 08:43:23 +01:00
lookup onepassword* lookups: drop support for op v1 (#12061) 2026-05-18 05:12:14 +02:00
module_utils [PR #12215/4d72ec32 backport][stable-13] xenserver_guest_info: use fallback chain for VDI format detection (#12230) 2026-06-12 23:46:27 +02:00
modules [PR #12234/7dc2441f backport][stable-13] xbps: include stdout and stderr in module output (#12278) 2026-06-14 21:40:06 +02:00
plugin_utils Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00