diff options
author | Jim Meyering <meyering@redhat.com> | 2011-03-22 06:07:35 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-03-22 07:13:59 +0100 |
commit | b3f6b33e4b31667b9b43708730f6f75f25e8ff57 (patch) | |
tree | 8321491316bc0f3a1c308597335f752fb950a9e8 | |
parent | 3f31ec950b78309a0d12d92d87a735b8870a2289 (diff) | |
download | coreutils-b3f6b33e4b31667b9b43708730f6f75f25e8ff57.tar.xz |
tests: exercise tests new "==" operator
* tests/misc/test: Exercise the new operator.
* NEWS (Changes in behavior): Mention it.
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | tests/misc/test | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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] diff --git a/tests/misc/test b/tests/misc/test index 396660b99..f515b7f32 100755 --- a/tests/misc/test +++ b/tests/misc/test @@ -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', "'(' = '('"], |