[runtime] [test] Use more portable short options to sort(1)
authorMichal Gorny <mgorny@gentoo.org>
Tue, 11 Dec 2018 15:39:26 +0000 (15:39 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Tue, 11 Dec 2018 15:39:26 +0000 (15:39 +0000)
commit7bbc1a782f98691be1d0f1799be675da9255c11b
tree3ce4a919c684c192b29015d6c9138c7491bf8a39
parente9d4267277068ad46a20cf6001a7077d89244401
[runtime] [test] Use more portable short options to sort(1)

Pass `-n -s` instead of `--numeric --stable` to sort(1), as long options
are not supported by NetBSD sort implementation.  `-n` is defined
by POSIX, so it should be fully portable.  `-s` is used consistently
at least in GNU sort and FreeBSD sort, and I honestly doubt it would
cause issues with any other implementation supporting `--stable`.

Differential Revision: https://reviews.llvm.org/D55479

llvm-svn: 348855
openmp/runtime/test/lit.cfg