1.17 and correct some typos in the test scripts
This commit is contained in:
parent
f680d29969
commit
ff0d4b4121
10
tests/ifs.t
10
tests/ifs.t
@ -56,7 +56,7 @@ description:
|
|||||||
Simple test, IFS=<white-space>:
|
Simple test, IFS=<white-space>:
|
||||||
stdin:
|
stdin:
|
||||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||||
IFS="IFS:"
|
IFS="$IFS:"
|
||||||
set --
|
set --
|
||||||
showargs 1 $*
|
showargs 1 $*
|
||||||
showargs 2 "$*"
|
showargs 2 "$*"
|
||||||
@ -77,7 +77,7 @@ description:
|
|||||||
At&t ksh fails this, POSIX says the test is correct.
|
At&t ksh fails this, POSIX says the test is correct.
|
||||||
stdin:
|
stdin:
|
||||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||||
IFS="IFS:"
|
IFS="$IFS:"
|
||||||
set --
|
set --
|
||||||
showargs :"$@"
|
showargs :"$@"
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
@ -90,7 +90,7 @@ description:
|
|||||||
pdksh fails both of these tests
|
pdksh fails both of these tests
|
||||||
stdin:
|
stdin:
|
||||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||||
IFS="IFS:"
|
IFS="$IFS:"
|
||||||
x=
|
x=
|
||||||
set --
|
set --
|
||||||
showargs "$x$@"
|
showargs "$x$@"
|
||||||
@ -106,7 +106,7 @@ description:
|
|||||||
Simple test, IFS=<white-space>:
|
Simple test, IFS=<white-space>:
|
||||||
stdin:
|
stdin:
|
||||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||||
IFS="IFS:"
|
IFS="$IFS:"
|
||||||
set --
|
set --
|
||||||
showargs "$@$@"
|
showargs "$@$@"
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
@ -119,7 +119,7 @@ description:
|
|||||||
Don't know what POSIX thinks of this. at&t ksh does not do this.
|
Don't know what POSIX thinks of this. at&t ksh does not do this.
|
||||||
stdin:
|
stdin:
|
||||||
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
showargs() { for i; do echo -n " <$i>"; done; echo; }
|
||||||
IFS="IFS:"
|
IFS="$IFS:"
|
||||||
set --
|
set --
|
||||||
showargs "${@:-}"
|
showargs "${@:-}"
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
|
@ -5,5 +5,5 @@ category: pdksh
|
|||||||
stdin:
|
stdin:
|
||||||
echo $KSH_VERSION
|
echo $KSH_VERSION
|
||||||
expected-stdout-pattern:
|
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)?/
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user