summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-25 12:32:03 +0200
committerJim Meyering <meyering@redhat.com>2010-05-25 12:32:03 +0200
commit55db9a39a818e82324e1304e5d886aa2cf137092 (patch)
tree0fde7834e3f95ef5fe16207a665864d5689ed3da /tests
parent6bc44b5feb03ae7621106e7ee510cd15374e74f8 (diff)
downloadcoreutils-55db9a39a818e82324e1304e5d886aa2cf137092.tar.xz
maint: remove unneeded double quotes on RHS of shell assignments
Run this command: git grep -l 'LC_[A-Z]*="' \ | xargs perl -pi -e 's/(LC_[A-Z]*)="(.*?)"/$1=$2/' * src/Makefile.am: Write LC_ALL=$$locale, not LC_ALL="$$locale". * src/date.c (main): Similar, in a comment. * tests/misc/sort-month: Write LC_ALL=$LOC, not LC_ALL="$LOC".
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/sort-month6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/sort-month b/tests/misc/sort-month
index 8a8e4fae2..5ac6afde5 100755
--- a/tests/misc/sort-month
+++ b/tests/misc/sort-month
@@ -28,9 +28,9 @@ locale --version >/dev/null 2>&1 ||
# C will be used if the locale is not present
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 -k2,2M |
+ 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 -k2,2M |
cut -f2 | tr '\n' ';')
test "$mon" = "$smon" || { fail=1; break; }
done