summaryrefslogtreecommitdiffstats
path: root/tests/shell/run-tests.sh
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-09-13 19:05:08 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-15 16:04:43 +0200
commitb350380ac23c7773414b502621fddad800d420a8 (patch)
tree2a5420dc80bfe640c5cbfb95574d2a3f42e1a60c /tests/shell/run-tests.sh
parenteb9bba20e7a0d673ee52594ea80f70cd75318981 (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/shell/run-tests.sh')
-rwxr-xr-xtests/shell/run-tests.sh2
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