From 6951a1e0b2ce74ad8f2b30243e721c3890dcdda8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 15 Sep 2008 08:57:25 +0000 Subject: 25671: non existing variable in typeset -p should cause status 1 --- Test/B02typeset.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test/B02typeset.ztst') diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index abb549ed6..48a45c15d 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -449,7 +449,7 @@ array=(foo bar) fn() { typeset -p array nonexistent; } fn -0:declare -p shouldn't create scoped values +1:declare -p shouldn't create scoped values >typeset -a array >array=(foo bar) ?fn:typeset: no such variable: nonexistent -- cgit 1.4.1