* document the feature-not-bug status of pipeline-subshell-1

* fix spelling in regression test
* expand test-stlt-1 by reverse logic, just to make sure
This commit is contained in:
tg 2006-08-14 20:41:21 +00:00
parent 2936b81597
commit 083f19dc53
2 changed files with 13 additions and 5 deletions

10
check.t
View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.55 2006/08/14 20:36:39 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.56 2006/08/14 20:41:21 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -3542,7 +3542,7 @@ expected-stderr-pattern:
/bad substitution/
expected-exit: 1
---
name: xxx-subsitution-eval-order
name: xxx-substitution-eval-order
description:
Check order of evaluation of expressions
stdin:
@ -3724,15 +3724,19 @@ expected-stderr:
+ /usr/bin/env false
expected-exit: e != 0
---
name: test-stlt
name: test-stlt-1
description:
Check that test also can handle string1 < string2 etc.
stdin:
test 2005/10/08 '<' 2005/08/21 && echo ja || echo nein
test 2005/08/21 \< 2005/10/08 && echo ja || echo nein
test 2005/10/08 '>' 2005/08/21 && echo ja || echo nein
test 2005/08/21 \> 2005/10/08 && echo ja || echo nein
expected-stdout:
nein
ja
ja
nein
expected-stderr-pattern: !/unexpected op/
---
name: mkshrc-1

8
mksh.1
View File

@ -1,8 +1,8 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.55 2006/08/11 13:46:32 tg Exp $
.\" $MirOS: src/bin/mksh/mksh.1,v 1.56 2006/08/14 20:41:21 tg Exp $
.\" $OpenBSD: ksh.1,v 1.116 2006/07/26 10:13:25 jmc Exp $
.\" $OpenBSD: sh.1tbl,v 1.53 2004/12/10 01:56:56 jaredy Exp $
.\"
.Dd August 11, 2006
.Dd August 14, 2006
.Dt MKSH 1
.Os MirBSD
.Sh NAME
@ -5319,3 +5319,7 @@ The
author is aware of this and there is no need to report it.
This does not work because the last command of a pipe sequence
is run in a subshell.
In
.Nm "" ,
this is a feature which can be depended on by scripts.
Use co-routines to work around if necessary and possible.