about summary refs log tree commit diff
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-09-13 09:42:24 +0100
committerPeter Stephenson <pws@zsh.org>2016-09-13 09:42:24 +0100
commit1993a3cd2a7b479530da8f37f6fb3ea05a0efb71 (patch)
tree1b352222ea93c281cddae037a09847439a1ace2f /Test/C02cond.ztst
parent23c1c774b95861209fe97d1436b6563d5946f939 (diff)
downloadzsh-1993a3cd2a7b479530da8f37f6fb3ea05a0efb71.tar.gz
zsh-1993a3cd2a7b479530da8f37f6fb3ea05a0efb71.tar.xz
zsh-1993a3cd2a7b479530da8f37f6fb3ea05a0efb71.zip
39292: Distinguish "=" and "==" tests in output.
This is both in xtrace output and shell code rebuilt from
internal structures.
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index e315f6c10..78e644a72 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -414,6 +414,13 @@ F:Failures in these cases do not indicate a problem in the shell.
 >OK 4
 >OK 5
 
+  fn() { [[ 'a' == 'b' || 'b' = 'c' || 'c' != 'd' ]] }
+  which -x2 fn
+0: = and == appear as input
+>fn () {
+>  [[ 'a' == 'b' || 'b' = 'c' || 'c' != 'd' ]]
+>}
+
 %clean
   # This works around a bug in rm -f in some versions of Cygwin
   chmod 644 unmodish