diff options
Diffstat (limited to 'tests/misc/sort-month')
-rwxr-xr-x | tests/misc/sort-month | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/sort-month b/tests/misc/sort-month index aee5215d5..8a8e4fae2 100755 --- a/tests/misc/sort-month +++ b/tests/misc/sort-month @@ -30,7 +30,7 @@ locale --version >/dev/null 2>&1 || for LOC in "$LOCALE_FR" "$LOCALE_FR_UTF8" "ja_JP.utf8"; do mon="$(LC_ALL="$LOC" locale abmon 2>/dev/null);" smon=$(LC_ALL="$LOC" locale abmon 2>/dev/null | - tr ';' '\n' | shuf | nl | LC_ALL="$LOC" sort -b -k2,2M | + tr ';' '\n' | shuf | nl | LC_ALL="$LOC" sort -k2,2M | cut -f2 | tr '\n' ';') test "$mon" = "$smon" || { fail=1; break; } done |