summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-26 07:28:48 +0000
committerJim Meyering <jim@meyering.net>2003-07-26 07:28:48 +0000
commit2cbcf12b24d40058380bd6ee9cfd24710e43a67e (patch)
treeea5d71114f7c9cbb4ad95277a72295df767757ec /ChangeLog
parent0c006268e6fdc86e74ee068a53eb4ac0e7fa7279 (diff)
downloadcoreutils-2cbcf12b24d40058380bd6ee9cfd24710e43a67e.tar.xz
*** empty log message ***
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ffada93ce..92d0b7f52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,41 @@
* Version 5.0.90.
+ * src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Exempt test.
+
+2003-07-24 Paul Eggert <eggert@twinsun.com>
+
+ Fix some POSIX-compliance problems with 'test'. This makes
+ 'test' more compatible with Bash.
+
+ * NEWS, doc/coreutils.texi: Document the following.
+ * src/test.c: Include exitfail.h.
+ (TEST_FAILURE): New constant, used for exit status if 'test' fails.
+ (test-syntax_error): Use it.
+ (binary_operator): Now takes bool arg specifying whether left operand
+ is -l ARG, so that caller determines this rather than us.
+ All uses changed.
+ (term): Use posixtest to evaluate parenthesized subexpressions.
+ (unary_operator, one_argument): Remove support for -t without operand.
+ (one_argument): Take argument from argv[pos].
+ (one_argument, two_arguments, three_arguments): Advance pos.
+ All callers changed.
+ (three_arguments): Look for binary ops before "!". Then look
+ for parenthesized one_argument expressions, instead of trusting
+ expr () to do the right thing.
+ (posixtest): Now takes number of args. All callers changed.
+ Treat "( A B )" like "A B".
+ (main): Set exit_failure to TEST_FAILURE. Don't depend on
+ POSIXLY_CORRECT, as we now conform to POSIX by default.
+ (main) [!LBRACKET]: Do not recognize "--help" or "--verbose" unless.
+ * tests/test/Test.pm (test_vector): Add several tests to check
+ the above. Syntax errors now exit with status 2, not 1.
+
+2003-07-26 Jim Meyering <jim@meyering.net>
+
+ * tests/help-version: Adjust for above change in test behavior:
+ `[' exits with 2, not 1, and test doesn't accept --help or --version.
+
* Makefile.maint (ME): Don't use trick suggested in Make manual.
It doesn't work for make-3.79.1. Reported by Christian Krackowizer.