this is unportable etc., use mksh instead
This commit is contained in:
parent
e5fb02e7d2
commit
306181bc4e
6
main.c
6
main.c
@ -1,4 +1,4 @@
|
||||
/** $MirOS: src/bin/ksh/main.c,v 1.1.7.1 2005/03/06 15:42:54 tg Exp $ */
|
||||
/** $MirOS: src/bin/ksh/main.c,v 1.2 2005/05/21 16:36:53 tg Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.35 2004/12/22 18:57:28 otto Exp $ */
|
||||
|
||||
/*
|
||||
@ -15,10 +15,10 @@
|
||||
* shell version
|
||||
*/
|
||||
|
||||
__RCSID("$MirOS: src/bin/ksh/main.c,v 1.1.7.1 2005/03/06 15:42:54 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/ksh/main.c,v 1.2 2005/05/21 16:36:53 tg Exp $");
|
||||
|
||||
const char ksh_version[] =
|
||||
"@(#)PD KSH v5.2.14 MirOS R20 in "
|
||||
"@(#)PD KSH v5.2.14 MirOS R20u in "
|
||||
#ifdef MIRBSD_NATIVE
|
||||
"native "
|
||||
#endif
|
||||
|
@ -5,5 +5,5 @@ category: pdksh
|
||||
stdin:
|
||||
echo $KSH_VERSION
|
||||
expected-stdout-pattern:
|
||||
/PD KSH v5\.2\.14 MirOS R20 in (native )?KSH mode( as mksh)?/
|
||||
/PD KSH v5\.2\.14 MirOS R20u in (native )?KSH mode( as mksh)?/
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user