diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-13 19:05:08 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-15 16:04:43 +0200 |
commit | b350380ac23c7773414b502621fddad800d420a8 (patch) | |
tree | 2a5420dc80bfe640c5cbfb95574d2a3f42e1a60c /tests | |
parent | eb9bba20e7a0d673ee52594ea80f70cd75318981 (diff) |
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 <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/shell/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |