kselftests: Sort the collections list to avoid duplicate tests
authorRishabh Bhatnagar <risbhat@amazon.com>
Thu, 1 Jun 2023 21:11:12 +0000 (21:11 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 12 Jun 2023 22:39:11 +0000 (16:39 -0600)
commit301d6815cdb3c5de9159d4564cb27e56c6cebd0b
tree0c3d508c68d60dc4a723e1e4f80e41b419f1fe9f
parentbcda4c863efdd038c4f8ade63ff435ed663cc286
kselftests: Sort the collections list to avoid duplicate tests

If the collections list is not sorted uniq doesn't weed out duplicate
tests correctly. Make sure to sort it before running uniq.

Signed-off-by: Rishabh Bhatnagar <risbhat@amazon.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/run_kselftest.sh