summaryrefslogtreecommitdiffstats
path: root/bin/test
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-02-27 12:28:06 +0000
committerdelphij <delphij@FreeBSD.org>2011-02-27 12:28:06 +0000
commitfbf06de861905db06ebe1b5725fc287909907677 (patch)
tree3cdd43ec1d802c80450559083e70ad13d186e9d6 /bin/test
parent1903daf0a4e7d5991b5a9396b74e51ce39add811 (diff)
downloadFreeBSD-src-fbf06de861905db06ebe1b5725fc287909907677.zip
FreeBSD-src-fbf06de861905db06ebe1b5725fc287909907677.tar.gz
Accept == as an alias of = which is a popular GNU extension.
This is intentionally undocumented for now since it's not part of any standard. MFC after: 1 month
Diffstat (limited to 'bin/test')
-rw-r--r--bin/test/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 0d0ad65..1259e68 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -144,6 +144,7 @@ struct t_op {
{"-L", FILSYM, UNOP},
{"-S", FILSOCK,UNOP},
{"=", STREQ, BINOP},
+ {"==", STREQ, BINOP},
{"!=", STRNE, BINOP},
{"<", STRLT, BINOP},
{">", STRGT, BINOP},
OpenPOWER on IntegriCloud