From 298cabc0669839e240580961dbc7405bf7d9995e Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Jan 20 2018 03:49:22 +0000 Subject: minor improvements on the test_extension.sh regexps --- diff --git a/bin/test_extension.sh b/bin/test_extension.sh index da7dc25..b70f9fc 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|(FORMULAS|valid_custom_grains).yaml|\.sls$)") -NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|pillar.example$|\.sls$") +NON_SLS_PILLAR=$(find pillar -type f | egrep -v "(macros.jinja|(FORMULAS|valid_custom_grains)\.yaml|\.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