summaryrefslogtreecommitdiff
path: root/tests/misc/sort
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-15 17:58:52 +0200
committerJim Meyering <meyering@redhat.com>2010-05-31 10:59:11 +0200
commitf385d97a4144a30e23bc35ce8ec33c26b6cd84e9 (patch)
treec4626695045ca2ec0f47458d7c4d21ee6932ab91 /tests/misc/sort
parent200501052edde61747a16cd0af60fa925ef87bfb (diff)
downloadcoreutils-f385d97a4144a30e23bc35ce8ec33c26b6cd84e9.tar.xz
tests: remove unnecessary single quotes in perl hash use: ->{'SYM'}
Run this command: git grep -l "limits->{'" \ | xargs perl -pi -e "s/limits->{'(.*?)'}/limits->{\$1}/g" * cfg.mk (sc_prohibit_perl_hash_quotes): New rule to match. * tests/misc/join: Remove quotes. * tests/misc/sort: Likewise. * tests/misc/sort-merge: Likewise. * tests/misc/test: Likewise. * tests/misc/unexpand: Likewise. * tests/misc/uniq: Likewise.
Diffstat (limited to 'tests/misc/sort')
-rwxr-xr-xtests/misc/sort4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/sort b/tests/misc/sort
index 4ca52fe9c..0b098452d 100755
--- a/tests/misc/sort
+++ b/tests/misc/sort
@@ -353,9 +353,9 @@ my @Tests =
{IN=>"a\0z\01\nb\0y\02\n"}, {OUT=>"b\0y\02\na\0z\01\n"}],
# fields > SIZE_MAX are silently interpreted as SIZE_MAX
-["bigfield1", "-k $limits->{'UINTMAX_OFLOW'}",
+["bigfield1", "-k $limits->{UINTMAX_OFLOW}",
{IN=>"2\n1\n"}, {OUT=>"1\n2\n"}],
-["bigfield2", "-k $limits->{'SIZE_OFLOW'}",
+["bigfield2", "-k $limits->{SIZE_OFLOW}",
{IN=>"2\n1\n"}, {OUT=>"1\n2\n"}],
# Using an old-style key-specifying option like +1 with an invalid