aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/uniq
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/uniq
parenttruncate: improve handling of non regular files (diff)
downloadcoreutils-f385d97a4144a30e23bc35ce8ec33c26b6cd84e9.tar.gz
coreutils-f385d97a4144a30e23bc35ce8ec33c26b6cd84e9.zip
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/uniq')
-rwxr-xr-xtests/misc/uniq4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/uniq b/tests/misc/uniq
index e49fe756d..4d1f8a4ff 100755
--- a/tests/misc/uniq
+++ b/tests/misc/uniq
@@ -194,8 +194,8 @@ my @Tests =
. $try}],
# Check that -d and -u suppress all output, as POSIX requires.
['120', qw(-d -u), {IN=>"a\na\n\b"}, {OUT=>""}],
- ['121', "-d -u -w$limits->{'UINTMAX_OFLOW'}", {IN=>"a\na\n\b"}, {OUT=>""}],
- ['122', "-d -u -w$limits->{'SIZE_OFLOW'}", {IN=>"a\na\n\b"}, {OUT=>""}],
+ ['121', "-d -u -w$limits->{UINTMAX_OFLOW}", {IN=>"a\na\n\b"}, {OUT=>""}],
+ ['122', "-d -u -w$limits->{SIZE_OFLOW}", {IN=>"a\na\n\b"}, {OUT=>""}],
# Check that --zero-terminated is synonymous with -z.
['123', '--zero-terminated', {IN=>"a\na\nb"}, {OUT=>"a\na\nb\0"}],
['124', '--zero-terminated', {IN=>"a\0a\0b"}, {OUT=>"a\0b\0"}],