summaryrefslogtreecommitdiff
path: root/bin/ksh/tests/unclass2.t
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-25 19:02:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-25 19:02:48 +0000
commitf7502f1aee86c9a3ebb4d6814e47a52727bc2d42 (patch)
tree0bd2bbab7d507d7dab286df7970c0101a3cb1807 /bin/ksh/tests/unclass2.t
parentcc7df4d09ccd66ffca19799a357c049e1b5bf030 (diff)
pdksh-5.2.13 + local changes
Diffstat (limited to 'bin/ksh/tests/unclass2.t')
-rw-r--r--bin/ksh/tests/unclass2.t21
1 files changed, 9 insertions, 12 deletions
diff --git a/bin/ksh/tests/unclass2.t b/bin/ksh/tests/unclass2.t
index d9e14822e06..56be75156b9 100644
--- a/bin/ksh/tests/unclass2.t
+++ b/bin/ksh/tests/unclass2.t
@@ -15,12 +15,12 @@ name: xxx-set-option-1
description:
Check option parsing in set
stdin:
- set -A -vs A 1 3 2
- echo ${A[*]}
+ set -vsA foo -- A 1 3 2
+ echo ${foo[*]}
expected-stderr:
- echo ${A[*]}
+ echo ${foo[*]}
expected-stdout:
- 1 2 3
+ 1 2 3 A
---
name: xxx-exec-1
@@ -148,19 +148,16 @@ name: env-prompt
description:
Check that prompt not printed when processing ENV
env-setup: !ENV=./foo!
-perl-setup:
- system("cat > foo << EOF
- XXX=12
- PS1='X '
+file-setup: file 644 "foo"
+ XXX=_
+ PS1=X
false && echo hmmm
- EOF
- ");
arguments: !-i!
stdin:
echo hi${XXX}there
expected-stdout:
- hi12there
+ hi_there
expected-stderr: !
- X X
+ XX
---