1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-15 20:37:43 +00:00
community.general/tests/unit/plugins
Alexei Znamensky 7dc2441fc8
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).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* 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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* changelog: add fragment for PR 12234

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add version_added.

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-14 21:05:09 +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 Fix incus Windows modules with ansible-core 2.21 (#12163) 2026-06-02 21:04:02 +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 xenserver_guest_info: use fallback chain for VDI format detection (#12215) 2026-06-12 23:07:13 +12:00
modules xbps: include stdout and stderr in module output (#12234) 2026-06-14 21:05:09 +02:00
plugin_utils Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00