test(molecule): wrap the runner stub under the sanity line limit
Part of #432 Assisted-by: Claude Code
This commit is contained in:
1 parent
e34a0eb2e0
commit
92cf7257d4
1 file changed
+3
-1
@@ -42,7 +42,9 @@ exit 0
|
|||||||
|
|
||||||
# The scenario runner: records its arguments, paths and stdin.
|
# The scenario runner: records its arguments, paths and stdin.
|
||||||
RUNNER_STUB = """#!/usr/bin/env bash
|
RUNNER_STUB = """#!/usr/bin/env bash
|
||||||
echo "runner args=$* path=$PATH acp=$ANSIBLE_COLLECTIONS_PATH inject=${ANSIBLE_INJECT_FACT_VARS-unset} lanes=${MOLECULE_LANES-unset} stdin=[$(cat | tr '\\n' ' ')]" >> "$STUB_LOG"
|
echo "runner args=$* path=$PATH acp=$ANSIBLE_COLLECTIONS_PATH" \\
|
||||||
|
"inject=${ANSIBLE_INJECT_FACT_VARS-unset} lanes=${MOLECULE_LANES-unset}" \\
|
||||||
|
"stdin=[$(cat | tr '\\n' ' ')]" >> "$STUB_LOG"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user