31810: tests for simple XTRACE output from conditions

This commit is contained in:
Peter Stephenson 2013-10-10 17:45:42 +01:00
parent 68a9bab11d
commit c35a561a9c
2 changed files with 12 additions and 0 deletions

View file

@ -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.

View file

@ -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