about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorJun T <takimoto-j@kba.biglobe.ne.jp>2016-01-04 22:29:37 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-01-04 22:29:37 -0800
commitead199291f0d217f436983261f543536ad433f67 (patch)
treeaace1af604806476160b62b943d4efd6c0816ebf /Test
parent524f8026106af96809ab70f8b48b0ee3c80a7098 (diff)
downloadzsh-ead199291f0d217f436983261f543536ad433f67.tar.gz
zsh-ead199291f0d217f436983261f543536ad433f67.tar.xz
zsh-ead199291f0d217f436983261f543536ad433f67.zip
37501 (+ revise test): correct byte counts when simulating memstream via temp file
Diffstat (limited to 'Test')
-rw-r--r--Test/B03print.ztst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 2e9bf99e5..befe2f2dd 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -304,9 +304,9 @@
 
  unset foo
  print -v foo once more
- print -r -- $foo
- printf -v foo "%s-" into the breach
- print -r -- $foo
+ typeset -p foo
+ printf -v foo "%s\0%s-" into the breach
+ typeset -p foo
 0:print and printf into a variable
->once more
->into-the-breach-
+>typeset foo='once more'
+>typeset foo=$'into\C-@the-breach\C-@-'