From: Pádraig Brady
Date: Mon, 24 May 2010 12:00:35 +0000 (+0100) Subject: maint: remove a redundant sort parameter from a test X-Git-Tag: v8.6~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bc44b5feb03ae7621106e7ee510cd15374e74f8;p=thirdparty%2Fcoreutils.git maint: remove a redundant sort parameter from a test * tests/misc/sort-month: Remove the -b option which is redundant and ignored. --- diff --git a/tests/misc/sort-month b/tests/misc/sort-month index aee5215d52..8a8e4fae2b 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