Add wrapper for "sort" to set LC_ALL=C.
Found by djm, this should make sorts stable and reduce test flakiness.
This commit is contained in:
parent
bd69e29f57
commit
3ef403f351
|
@ -79,6 +79,12 @@ if test "x${EGREP}" != "x"; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Force sort to have stable output.
|
||||||
|
sort()
|
||||||
|
{
|
||||||
|
env LC_ALL=C sort "$@"
|
||||||
|
}
|
||||||
|
|
||||||
SRC=`dirname ${SCRIPT}`
|
SRC=`dirname ${SCRIPT}`
|
||||||
|
|
||||||
# defaults
|
# defaults
|
||||||
|
|
Loading…
Reference in New Issue