iotests: Set LC_ALL=C for sort
commit4a40f561d5ebb5050a8c6dcbdcee85621056590a
authorMax Reitz <mreitz@redhat.com>
Fri, 10 Jul 2020 16:32:52 +0000 (10 18:32 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:53:29 +0000 (11 15:53 +0100)
tree81fc41763f0f79e482e9108d60b6b1c99d5f70cd
parente94f0687200ea4adced3f3fbecf233a24440458d
iotests: Set LC_ALL=C for sort

Otherwise the result is basically unpredictable.

(Note that the precise environment variable to control sorting order is
LC_COLLATE, but LC_ALL overrides LC_COLLATE, and we do not want the
sorting order to be messed up if LC_ALL is set in the environment.)

Reported-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200710163253.381630-3-mreitz@redhat.com>
tests/qemu-iotests/common.filter