|
A03quoting.ztst: starting. --- expected +++ actual @@ -1,7 +1,7 @@ 16#42 -16#53X +16#53 16#5C -16#4DX +16#4D 16#42 16#53 16#DC Test A03quoting.ztst failed: output differs from expected as shown above for: chars=$(print -r $'BS\\MBS\M-\\') for (( i = 1; i <= $#chars; i++ )); do char=$chars[$i] print $(( [#16] #char )) done Was testing: $'-style quote with metafied backslash A03quoting.ztst: test failed. --- expected +++ actual @@ -1,6 +1,6 @@ : 16#61 -16#62X +16#62 16#0 16#63 16#64 Test A03quoting.ztst failed: output differs from expected as shown above for: null1="$(print -r a$'b\0c'd)" null2="$(setopt posixstrings; print -r a$'b\0c'd)" for string in $null1 $null2; do print ":" for (( i = 1; i <= $#string; i++ )); do char=$string[$i] print $(( [#16] #char )) done done Was testing: Embedded null characters in $'...' strings.
A03quoting.ztst: test failed. |
./A03quoting.ztst: starting. --- /tmp/zsh.ztst.74957/ztst.out 2026-06-05 12:43:51 +++ /tmp/zsh.ztst.74957/ztst.tout 2026-06-05 12:43:51 @@ -1,7 +1,7 @@ 16#42 -16#53X +16#53 16#5C -16#4DX +16#4D 16#42 16#53 16#DC Test ./A03quoting.ztst failed: output differs from expected as shown above for: chars=$(print -r $'BS\\MBS\M-\\') for (( i = 1; i <= $#chars; i++ )); do char=$chars[$i] print $(( [#16] #char )) done Was testing: $'-style quote with metafied backslash ./A03quoting.ztst: test failed. --- /tmp/zsh.ztst.74957/ztst.out 2026-06-05 12:43:51 +++ /tmp/zsh.ztst.74957/ztst.tout 2026-06-05 12:43:51 @@ -1,6 +1,6 @@ : 16#61 -16#62X +16#62 16#0 16#63 16#64 Test ./A03quoting.ztst failed: output differs from expected as shown above for: null1="$(print -r a$'b\0c'd)" null2="$(setopt posixstrings; print -r a$'b\0c'd)" for string in $null1 $null2; do print ":" for (( i = 1; i <= $#string; i++ )); do char=$string[$i] print $(( [#16] #char )) done done Was testing: Embedded null characters in $'...' strings.
./A03quoting.ztst: test failed. |