mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add test for ConfigureRemotingForAnsible.ps1
.
This commit is contained in:
parent
89f232ad8a
commit
50b11cd8e3
1 changed files with 9 additions and 0 deletions
9
test/sanity/code-smell/configure-remoting-ps1.sh
Executable file
9
test/sanity/code-smell/configure-remoting-ps1.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
FILE='examples/scripts/ConfigureRemotingForAnsible.ps1'
|
||||||
|
|
||||||
|
if [ ! -f "${FILE}" ] || [ -h "${FILE}" ]; then
|
||||||
|
echo 'The file "ConfigureRemotingForAnsible.ps1" is missing or is not a regular file.'
|
||||||
|
echo 'It is required by external automated processes and should not be moved or renamed.'
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in a new issue