mirror of
https://github.com/zsh-users/zsh
synced 2024-10-14 11:53:24 +00:00
31810: tests for simple XTRACE output from conditions
This commit is contained in:
parent
68a9bab11d
commit
c35a561a9c
|
@ -1,5 +1,8 @@
|
|||
2013-10-10 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 31810: Test/E02xtrace.ztst: tests for simple cases of XTRACE
|
||||
output for conditions.
|
||||
|
||||
* 31809: Src/exec.c: make whitespace clear in trace output for
|
||||
patterns.
|
||||
|
||||
|
|
|
@ -118,3 +118,12 @@
|
|||
?+./fnfile:5> :
|
||||
?+./fnfile:6> fn
|
||||
?+./fnfile:3> print This is fn.
|
||||
|
||||
set -x
|
||||
[[ '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
|
||||
|
|
Loading…
Reference in a new issue