diff options
author | Xin LI <delphij@FreeBSD.org> | 2011-02-27 12:28:06 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2011-02-27 12:28:06 +0000 |
commit | eaea8924cee06b90451536e4b5ead2749e2eac7d (patch) | |
tree | 3cdd43ec1d802c80450559083e70ad13d186e9d6 /bin/test | |
parent | b3f3e1cb6a1c8499baccb273b12718859fcf9009 (diff) | |
download | src-test-eaea8924cee06b90451536e4b5ead2749e2eac7d.tar.gz src-test-eaea8924cee06b90451536e4b5ead2749e2eac7d.zip |
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
Notes
Notes:
svn path=/head/; revision=219084
Diffstat (limited to 'bin/test')
-rw-r--r-- | bin/test/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index 0d0ad65ffcd35..1259e681c5c50 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}, |