Module: check_mk
Branch: master
Commit: a2bd1d5cc13f74616191453b183cca1b9e5b3f43
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a2bd1d5cc13f74…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Nov 14 09:10:08 2018 +0100
Make output predictable.
Change-Id: I073374061f141dbc679eaa7be53346ff31417f98
---
tests/find-python-files | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/find-python-files b/tests/find-python-files
index 7a9498b..d15325f 100755
--- a/tests/find-python-files
+++ b/tests/find-python-files
@@ -35,7 +35,7 @@ SEARCH+=" werk"
REAL_SEARCH=$(realpath $SEARCH)
# while read F is used to deal with files containing whitespaces
-find $REAL_SEARCH -name .venv -prune -o -type f -print | while read F; do
+find $REAL_SEARCH -name .venv -prune -o -type f -print | sort | while read F; do
if [[ "$F" == *.py ]] || head -n 1 "$F" | grep -q
'^#!.*python$' >/dev/null 2>&1; then
echo "$F"
fi