From 6eec737ade63bd48e0cccd66c021dd5523100f06 Mon Sep 17 00:00:00 2001 From: Bo Borgerson Date: Fri, 4 Apr 2008 11:13:13 -0400 Subject: standardize some error messages * maint.mk: (sc_error_message_warn_fatal, sc_error_message_uppercase): (sc_error_message_period): Add automatic checks for non-standard error messages. * .x-sc_error_message_uppercase: explicit exclusion for this check * src/cp.c: Standardize some error messages. * src/date.c: Likewise. * src/dircolors.c: Likewise. * src/du.c: Likewise. * src/expr.c: Likewise. * src/install.c: Likewise. * src/join.c: Likewise. * src/ln.c: Likewise. * src/mv.c: Likewise. * src/od.c: Likewise. * src/pr.c: Likewise. * src/split.c: Likewise. * src/truncate.c: Likewise. * src/wc.c: Likewise. * tests/du/files0-from: Expect new error message. * tests/misc/join: Likewise. * tests/misc/split-a: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * lib/xmemxfrm.c: Likewise. --- tests/misc/xstrtol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/misc/xstrtol') diff --git a/tests/misc/xstrtol b/tests/misc/xstrtol index 0ebd32bdc..08f9d1d86 100755 --- a/tests/misc/xstrtol +++ b/tests/misc/xstrtol @@ -38,9 +38,8 @@ my @Tests = ['simply-inval', "--pages=x", {EXIT => 1}, {ERR=>"$prog: invalid --pages argument `x'\n"}], - # FIXME: should be lower case "invalid". ['inv-pg-range', "--pages=9x", {EXIT => 1}, - {ERR=>"$prog: Invalid page range `9x'\n"}], + {ERR=>"$prog: invalid page range `9x'\n"}], ); my $save_temps = $ENV{DEBUG}; -- cgit v1.2.3-70-g09d2