From 50b11cd8e3d81f2d7ef314ef461c83e6a00f52f7 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 6 Jan 2017 10:35:12 -0800 Subject: [PATCH] Add test for `ConfigureRemotingForAnsible.ps1`. --- test/sanity/code-smell/configure-remoting-ps1.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 test/sanity/code-smell/configure-remoting-ps1.sh 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