document known readonly bug from <52EFA07D.3010904@posteo.de>
This commit is contained in:
parent
d108bbe94e
commit
27f56362fa
15
check.t
15
check.t
|
@ -1,4 +1,4 @@
|
|||
# $MirOS: src/bin/mksh/check.t,v 1.642 2014/02/08 20:20:32 tg Exp $
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.643 2014/02/09 00:08:17 tg Exp $
|
||||
# OpenBSD src/regress/bin/ksh updated: 2013/12/02 20:39:44
|
||||
#-
|
||||
# Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
|
@ -5472,6 +5472,19 @@ expected-stdout:
|
|||
expected-stderr-pattern:
|
||||
/read-only/
|
||||
---
|
||||
name: readonly-4
|
||||
description:
|
||||
Do not permit bypassing readonly for first array item
|
||||
expected-fail: yes
|
||||
stdin:
|
||||
set -A arr -- foo bar
|
||||
readonly arr
|
||||
arr=baz
|
||||
print -r -- "${arr[@]}"
|
||||
expected-exit: e != 0
|
||||
expected-stderr-pattern:
|
||||
/read[ -]?only/
|
||||
---
|
||||
name: syntax-1
|
||||
description:
|
||||
Check that lone ampersand is a syntax error
|
||||
|
|
Loading…
Reference in New Issue