summary refs log tree commit diff
path: root/Test/E02xtrace.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/E02xtrace.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/E02xtrace.ztst')
-rw-r--r--Test/E02xtrace.ztst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Test/E02xtrace.ztst b/Test/E02xtrace.ztst
index 6e425e703..da6191cd0 100644
--- a/Test/E02xtrace.ztst
+++ b/Test/E02xtrace.ztst
@@ -120,13 +120,15 @@
 ?+./fnfile:3> print This is fn.
 
  set -x
+ [[ 'f o' == 'f x'* || 'b r' != 'z o' && 'squashy sound' < 'squishy sound' ]]
  [[ 'f o' = 'f x'* || 'b r' != 'z o' && 'squashy sound' < 'squishy sound' ]]
  [[ -e nonexistentfile || ( -z '' && -t 3 ) ]]
  set +x
 0:Trace for conditions
 ?+(eval):2> [[ 'f o' == f\ x* || 'b r' != z\ o && 'squashy sound' < 'squishy sound' ]]
-?+(eval):3> [[ -e nonexistentfile || -z '' && -t 3 ]]
-?+(eval):4> set +x
+?+(eval):3> [[ 'f o' = f\ x* || 'b r' != z\ o && 'squashy sound' < 'squishy sound' ]]
+?+(eval):4> [[ -e nonexistentfile || -z '' && -t 3 ]]
+?+(eval):5> set +x
 
   # Part 1: Recurses into nested anonymous functions
   fn() {