[PATCH 3/5] Change how we ignore non-tests in kickstart_tests.
Chris Lumens
clumens at redhat.com
Fri Sep 11 17:12:49 UTC 2015
Now that all the helper scripts are in scripts/, we can just use
-maxdepth with find instead of looking at names.
---
tests/kickstart_tests/scripts/run_kickstart_tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kickstart_tests/scripts/run_kickstart_tests.sh b/tests/kickstart_tests/scripts/run_kickstart_tests.sh
index 003bceb..ad9cdf1 100755
--- a/tests/kickstart_tests/scripts/run_kickstart_tests.sh
+++ b/tests/kickstart_tests/scripts/run_kickstart_tests.sh
@@ -109,7 +109,7 @@ sed_args=$(printenv | while read line; do
if [[ $# != 0 ]]; then
tests="$*"
else
- tests=$(find kickstart_tests -name '*sh' -a -perm -o+x -a \! -wholename 'kickstart_tests/run_*.sh')
+ tests=$(find kickstart_tests -maxdepth 1 -name '*sh' -a -perm -o+x)
newtests=""
if [[ "$TESTTYPE" != "" ]]; then
--
2.4.3
More information about the anaconda-patches
mailing list