tests: exercise tests new "==" operator
authorJim Meyering <meyering@redhat.com>
Tue, 22 Mar 2011 05:07:35 +0000 (06:07 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 22 Mar 2011 06:13:59 +0000 (07:13 +0100)
* tests/misc/test: Exercise the new operator.
* NEWS (Changes in behavior): Mention it.

NEWS
tests/misc/test

diff --git a/NEWS b/NEWS
index 9ceaa06..b2674c0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,10 @@ GNU coreutils NEWS                                    -*- outline -*-
   which will discard any cache associated with the files, or
   processed portion thereof.
 
+** Changes in behavior
+
+  test now accepts "==" as a synonym for "="
+
 
 * Noteworthy changes in release 8.10 (2011-02-04) [stable]
 
index 396660b..f515b7f 100755 (executable)
@@ -132,6 +132,8 @@ my @Tests =
 
   ['streq-1', qw(t = t)],
   ['streq-2', qw(t = f), {EXIT=>1}],
+  ['streqeq-1', qw(t == t)],
+  ['streqeq-2', qw(t == f), {EXIT=>1}],
   ['streq-3', qw(! = !)],
   ['streq-4', qw(= = =)],
   ['streq-5', "'(' = '('"],