mark two ($@/$* expansion-related) testcases as expected-fail, with more to come ☹
This commit is contained in:
parent
0432fc1a87
commit
8d9d86ceab
21
check.t
21
check.t
@ -1,4 +1,4 @@
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.668 2014/10/24 12:13:52 tg Exp $
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.669 2014/11/14 20:21:27 tg Exp $
|
||||
# OpenBSD src/regress/bin/ksh updated: 2013/12/02 20:39:44
|
||||
#-
|
||||
# Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
@ -27,7 +27,7 @@
|
||||
# http://svnweb.freebsd.org/base/head/bin/test/tests/legacy_test.sh?view=co&content-type=text%2Fplain
|
||||
|
||||
expected-stdout:
|
||||
@(#)MIRBSD KSH R50 2014/10/19
|
||||
@(#)MIRBSD KSH R50 2014/11/14
|
||||
description:
|
||||
Check version of shell.
|
||||
stdin:
|
||||
@ -36,7 +36,7 @@ name: KSH_VERSION
|
||||
category: shell:legacy-no
|
||||
---
|
||||
expected-stdout:
|
||||
@(#)LEGACY KSH R50 2014/10/19
|
||||
@(#)LEGACY KSH R50 2014/11/14
|
||||
description:
|
||||
Check version of legacy shell.
|
||||
stdin:
|
||||
@ -4070,6 +4070,7 @@ description:
|
||||
'emulate sh' zsh has extra fields in
|
||||
- a5ins (IFS_NWS unquoted $*)
|
||||
- b5ins, matching mksh’s
|
||||
!!WARNING!! more to come: http://austingroupbugs.net/view.php?id=888
|
||||
stdin:
|
||||
"$__progname" -c 'IFS=; set -- "" 2 ""; printf "[%s]\n" $*; x=$*; printf "<%s>\n" "$x"'
|
||||
echo '=a1zns'
|
||||
@ -4201,6 +4202,15 @@ stdin:
|
||||
expected-stdout:
|
||||
<*c> <abcd> .
|
||||
---
|
||||
name: IFS-subst-8
|
||||
description:
|
||||
http://austingroupbugs.net/view.php?id=221
|
||||
stdin:
|
||||
n() { echo "$#"; }; n "${foo-$@}"
|
||||
expected-fail: yes
|
||||
expected-stdout:
|
||||
1
|
||||
---
|
||||
name: IFS-arith-1
|
||||
description:
|
||||
http://austingroupbugs.net/view.php?id=832
|
||||
@ -8324,10 +8334,11 @@ description:
|
||||
Ensure concatenating behaviour matches other shells
|
||||
stdin:
|
||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||
x=; showargs 1 "$x$@"
|
||||
x=; showargs 1 "$x"$@
|
||||
set A; showargs 2 "${@:+}"
|
||||
expected-fail: yes
|
||||
expected-stdout:
|
||||
<1>
|
||||
<1> <>
|
||||
<2> <>
|
||||
---
|
||||
name: print-funny-chars
|
||||
|
4
sh.h
4
sh.h
@ -169,9 +169,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.701 2014/10/19 21:53:08 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.702 2014/11/14 20:21:29 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R50 2014/10/19"
|
||||
#define MKSH_VERSION "R50 2014/11/14"
|
||||
|
||||
/* arithmetic types: C implementation */
|
||||
#if !HAVE_CAN_INTTYPES
|
||||
|
Loading…
Reference in New Issue
Block a user