1.17 and correct some typos in the test scripts

This commit is contained in:
tg 2004-12-05 16:16:32 +00:00
parent f680d29969
commit ff0d4b4121
2 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ description:
Simple test, IFS=<white-space>:
stdin:
showargs() { for i; do echo -n " <$i>"; done; echo; }
IFS="IFS:"
IFS="$IFS:"
set --
showargs 1 $*
showargs 2 "$*"
@ -77,7 +77,7 @@ description:
At&t ksh fails this, POSIX says the test is correct.
stdin:
showargs() { for i; do echo -n " <$i>"; done; echo; }
IFS="IFS:"
IFS="$IFS:"
set --
showargs :"$@"
expected-stdout:
@ -90,7 +90,7 @@ description:
pdksh fails both of these tests
stdin:
showargs() { for i; do echo -n " <$i>"; done; echo; }
IFS="IFS:"
IFS="$IFS:"
x=
set --
showargs "$x$@"
@ -106,7 +106,7 @@ description:
Simple test, IFS=<white-space>:
stdin:
showargs() { for i; do echo -n " <$i>"; done; echo; }
IFS="IFS:"
IFS="$IFS:"
set --
showargs "$@$@"
expected-stdout:
@ -119,7 +119,7 @@ description:
Don't know what POSIX thinks of this. at&t ksh does not do this.
stdin:
showargs() { for i; do echo -n " <$i>"; done; echo; }
IFS="IFS:"
IFS="$IFS:"
set --
showargs "${@:-}"
expected-stdout:

View File

@ -5,5 +5,5 @@ category: pdksh
stdin:
echo $KSH_VERSION
expected-stdout-pattern:
/PD KSH v5\.2\.14 MirOS \$Revision\: 1.16 \$ in (native )?KSH mode( as mksh)?/
/PD KSH v5\.2\.14 MirOS \$Revision\: 1.17 \$ in (native )?KSH mode( as mksh)?/
---