summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/regression/bin/test/regress.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/regression/bin/test/regress.sh b/tools/regression/bin/test/regress.sh
index 716c260..dfe80a5 100644
--- a/tools/regression/bin/test/regress.sh
+++ b/tools/regression/bin/test/regress.sh
@@ -52,12 +52,15 @@ t ()
}
count=0
-echo "1..94"
+echo "1..97"
t 0 'b = b'
+t 0 'b == b'
t 1 'b != b'
t 0 '\( b = b \)'
+t 0 '\( b == b \)'
t 1 '! \( b = b \)'
+t 1 '! \( b == b \)'
t 1 '! -f /etc/passwd'
t 0 '-h = -h'
OpenPOWER on IntegriCloud