this is unportable etc., use mksh instead

This commit is contained in:
tg 2005-07-07 13:08:28 +00:00
parent e5fb02e7d2
commit 306181bc4e
2 changed files with 4 additions and 4 deletions

6
main.c
View File

@ -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

View File

@ -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)?/
---