From 753331ed03b344ab00f3e5a8aa2008e85c043261 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Dec 04 2017 20:00:35 +0000 Subject: bin/test_extension.sh: exclude all the *pillar.example$ files --- diff --git a/bin/test_extension.sh b/bin/test_extension.sh index 9a898aa..c6109f7 100755 --- a/bin/test_extension.sh +++ b/bin/test_extension.sh @@ -1,7 +1,7 @@ #!/bin/bash NON_SLS_PILLAR=$(find pillar -type f | egrep -v "(macros.jinja|valid_custom_grains.yaml|.sls$)") -NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|salt/profile/apparmor/pillar.example|.sls$") +NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|pillar.example$|.sls$") NON_SLS=( ${NON_SLS_PILLAR} ${NON_SLS_SALT} ) if [[ -n $NON_SLS ]]; then