mirror of https://github.com/ansible/ansible.git
ansible-test - Improve runme.sh error handling (#84972)
parent
c54ff7de41
commit
3d30e05bb4
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- ansible-test - Show a more user-friendly error message when a ``runme.sh`` script is not executable.
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
shippable/posix/group3 # runs in the distro test containers
|
||||||
|
shippable/generic/group1 # runs in the default test container
|
||||||
|
context/controller
|
||||||
|
needs/target/collection
|
||||||
@ -0,0 +1 @@
|
|||||||
|
context/controller
|
||||||
@ -0,0 +1 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source ../collection/setup.sh
|
||||||
|
|
||||||
|
set -x +o pipefail
|
||||||
|
|
||||||
|
ansible-test integration --venv --color --truncate 0 "${@}" 2>&1 | grep "Unable to run non-executable script"
|
||||||
|
|
||||||
|
echo "SUCCESS: Non-executable script error correctly handled."
|
||||||
Loading…
Reference in New Issue