From 85850097fb590eb235dab23579dae1cbd779c75c Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 25 Mar 2001 03:03:20 +0000 Subject: A couple of regression tests. --- Test/13parameter.ztst | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'Test/13parameter.ztst') diff --git a/Test/13parameter.ztst b/Test/13parameter.ztst index 735021f51..7304f31d7 100644 --- a/Test/13parameter.ztst +++ b/Test/13parameter.ztst @@ -489,3 +489,40 @@ >1 >a > b + + set If "this test fails" "we have broken" the shell again + print -l ${1+"$@"} +0:Regression test of ${1+"$@"} bug +>If +>this test fails +>we have broken +>the +>shell +>again + + set If "this test fails" "we have broken" the shell again + print -l "${(A)foo::=$@}" + print -l $foo +0:Regression test of "${(A)foo=$@}" bug +>If this test fails we have broken the shell again +>If +>this test fails +>we have broken +>the +>shell +>again + + set If "this test fails" maybe "we have finally fixed" the shell + print -l ${=1+"$@"} +0:Regression test of unfixed ${=1+"$@"} bug +>If +>this +>test +>fails +>maybe +>we +>have +>finally +>fixed +>the +>shell -- cgit 1.4.1