Invalid value exits with status 3, not 2.

This commit is contained in:
Jim Meyering 2003-07-18 07:25:39 +00:00
parent 30d8071d60
commit 7a0ebf5a7b

View File

@ -44,7 +44,7 @@ my @Tests =
# This erroneously succeeded and output `3' before 2.0.12.
['fail-a', '3 + -', {ERR => "$prog: non-numeric argument\n"},
{EXIT => 2}],
{EXIT => 3}],
);
# Append a newline to end of each expected `OUT' string.