From b350380ac23c7773414b502621fddad800d420a8 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 13 Sep 2023 19:05:08 +0200 Subject: tests/shell: in find_tests() use C locale for sorting tests names It makes more sense, that the sort order does not depend on the user's locale. Signed-off-by: Thomas Haller Signed-off-by: Florian Westphal --- tests/shell/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shell/run-tests.sh') diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index 12901ab3..8f55c81f 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -316,7 +316,7 @@ while [ $# -gt 0 ] ; do done find_tests() { - find "$1" -type f -executable | sort + find "$1" -type f -executable | LANG=C sort } if [ "${#TESTS[@]}" -eq 0 ] ; then -- cgit v1.2.3