[PR #10209/63add288 backport][stable-9] Tests: adjust to ansible-core devel changes (#10210)

Tests: adjust to ansible-core devel changes (#10209)

Apparently the error message returned by AnsibleModule.run_command() when trying to execute a non-existing executable changed.

Ref: 600c1e67b4
(cherry picked from commit 63add288dc)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2025-06-06 21:52:10 +02:00
committed by GitHub
parent 12a21e0517
commit 93c121d4a6
2 changed files with 4 additions and 2 deletions

View File

@@ -260,3 +260,5 @@ cmd_echo_tests:
assertions:
- >
"No such file or directory" in test_result.msg
or
"Error executing command." == test_result.msg