diff options
author | Eric Blake <eblake@redhat.com> | 2010-02-25 08:36:39 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-02-25 08:54:49 -0700 |
commit | 9a6c97eb2965adf868b26acf0ace0094dfe4cada (patch) | |
tree | 05352c9513557ef84b38c674f0d906b57ae1ff95 /tests/misc | |
parent | 0b5bd805bda0346dd6ed777826da39d5571115a0 (diff) | |
download | coreutils-9a6c97eb2965adf868b26acf0ace0094dfe4cada.tar.xz |
expr: clarify error message
* src/expr.c (eval4, eval3): Clarify that expr expects integers,
and not the broader category of numbers.
* tests/misc/expr: Update test accordingly.
Suggested by Dan Jacobson.
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/expr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/expr b/tests/misc/expr index 10dd1c5e5..6c4280f31 100755 --- a/tests/misc/expr +++ b/tests/misc/expr @@ -70,7 +70,7 @@ my @Tests = # This erroneously succeeded and output `3' before 2.0.12. - ['fail-a', '3 + -', {ERR => "$prog: non-numeric argument\n"}, + ['fail-a', '3 + -', {ERR => "$prog: non-integer argument\n"}, {EXIT => 2}], # This erroneously succeeded before 5.3.1. |