diff --git a/test/sanity/code-smell/configure-remoting-ps1.sh b/test/sanity/code-smell/configure-remoting-ps1.sh new file mode 100755 index 0000000000..1eb7903137 --- /dev/null +++ b/test/sanity/code-smell/configure-remoting-ps1.sh @@ -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