summaryrefslogtreecommitdiff
path: root/bin/ksh/tests/unclass1.t
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-10-01 02:05:58 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-10-01 02:05:58 +0000
commit7af587866799c05822d7ce6c84a82699bd1eb07b (patch)
tree5e4debc6d5f3366eed1af6d3ebfd5a9aaf5c2d1d /bin/ksh/tests/unclass1.t
parent681a20ebbbbf2f359b11be4310b1ccc9428d48cf (diff)
Integrate pdksh 5.2.9.
Diffstat (limited to 'bin/ksh/tests/unclass1.t')
-rw-r--r--bin/ksh/tests/unclass1.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/tests/unclass1.t b/bin/ksh/tests/unclass1.t
index 2e3e88791bf..55d4e58976f 100644
--- a/bin/ksh/tests/unclass1.t
+++ b/bin/ksh/tests/unclass1.t
@@ -49,7 +49,7 @@ name: xxx-exec-environment-1
description:
Check to see if exec sets it's environment correctly
stdin:
- FOO=bar exec printenv
+ FOO=bar exec env
expected-stdout-pattern:
/(^|.*\n)FOO=bar\n/
---
@@ -59,8 +59,8 @@ description:
Check to make sure exec doesn't change environment if a program
isn't exec-ed
stdin:
- printenv > bar1
- FOO=bar exec; printenv > bar2
+ env > bar1
+ FOO=bar exec; env > bar2
cmp -s bar1 bar2
---