NameDateSize

..13-Feb-201925

alias.sh06-Nov-20123.7 KiB

append.sh06-Nov-20122.8 KiB

arith.sh06-Nov-201216 KiB

arrays.sh06-Nov-201214.6 KiB

arrays2.sh06-Nov-20124 KiB

attributes.sh06-Nov-201211 KiB

basic.sh06-Nov-201214.5 KiB

bracket.sh06-Nov-201210.3 KiB

builtins.sh06-Nov-201217.5 KiB

case.sh06-Nov-20122.4 KiB

comvar.sh06-Nov-201215.1 KiB

coprocess.sh06-Nov-20127.2 KiB

cubetype.sh06-Nov-20128.5 KiB

enum.sh06-Nov-20122.8 KiB

exit.sh06-Nov-20122.8 KiB

expand.sh06-Nov-20125 KiB

functions.sh06-Nov-201236.8 KiB

glob.sh06-Nov-201210.8 KiB

grep.sh06-Nov-20123.3 KiB

heredoc.sh06-Nov-20128.4 KiB

io.sh06-Nov-201214 KiB

nameref.sh06-Nov-20129.6 KiB

options.sh06-Nov-201217.1 KiB

path.sh06-Nov-201211 KiB

pointtype.sh06-Nov-20124.9 KiB

quoting.sh06-Nov-201213.1 KiB

quoting2.sh06-Nov-20126.8 KiB

README.tests06-Nov-20121.8 KiB

recttype.sh06-Nov-20122.3 KiB

restricted.sh06-Nov-20123.7 KiB

return.sh06-Nov-20124.3 KiB

select.sh06-Nov-20122.1 KiB

shtests06-Nov-20123.1 KiB

sigchld.sh06-Nov-20124 KiB

signal.sh06-Nov-20128.3 KiB

statics.sh06-Nov-20123.9 KiB

subshell.sh06-Nov-201212.3 KiB

substring.sh06-Nov-201219.4 KiB

sun_solaris_array_default_datatype.sh06-Nov-201212.6 KiB

sun_solaris_builtin_poll.sh06-Nov-20122.4 KiB

sun_solaris_builtin_sum.sh06-Nov-20125.5 KiB

sun_solaris_builtin_tail.sh06-Nov-201211.8 KiB

sun_solaris_command_substitution.sh06-Nov-201211.5 KiB

sun_solaris_compound_misc.sh06-Nov-20126.1 KiB

sun_solaris_compound_nameref.sh06-Nov-20124.5 KiB

sun_solaris_compoundvario.sh06-Nov-20129.9 KiB

sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh06-Nov-20125.7 KiB

sun_solaris_cr_6713682_compound_var_bleeds_through_subshell.sh06-Nov-20125.4 KiB

sun_solaris_cr_6722134_background_CHLD_trap.sh06-Nov-20123.4 KiB

sun_solaris_cr_6753538_subshell_leaks_umask.sh06-Nov-20123 KiB

sun_solaris_cr_6754020_weird_square_bracket_expansion.sh06-Nov-20122.1 KiB

sun_solaris_cr_6763594_command_failure_execs_twice.sh06-Nov-20123 KiB

sun_solaris_cr_6766246_pattern_matching_bug.sh06-Nov-20125.2 KiB

sun_solaris_cr_6769332_substitutions_terminate_shell_after_257_iterations.sh06-Nov-20123.1 KiB

sun_solaris_cr_6777491_lacks_arithmetric_function_iszero.sh06-Nov-20122.7 KiB

sun_solaris_cr_6778077_sigthaw_trap.sh06-Nov-20122.6 KiB

sun_solaris_cr_6789247_printf_hexfloat_rounding.sh06-Nov-20123.8 KiB

sun_solaris_cr_6800929_large_command_substitution_hang.sh06-Nov-20127.4 KiB

sun_solaris_cr_6805792_varmovetest1.sh06-Nov-20123.4 KiB

sun_solaris_cr_6805794_character_to_wchar_not_working.sh06-Nov-20122.8 KiB

sun_solaris_cr_6805795_negative_zero.sh06-Nov-20123.8 KiB

sun_solaris_cr_6807179_shellpattern_uses_getpwnam.sh06-Nov-20123.5 KiB

sun_solaris_cr_6835835_builtin_cat_n_broken.sh06-Nov-20124.2 KiB

sun_solaris_cr_6848486_echo_test_with_test_undefined_executes_test_builtin.sh06-Nov-20123.2 KiB

sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh06-Nov-20124.5 KiB

sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.sh06-Nov-20123.3 KiB

sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh06-Nov-20122.5 KiB

sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.sh10-Jan-20184.3 KiB

sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh06-Nov-20125.1 KiB

sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh06-Nov-20125.1 KiB

sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh06-Nov-20125.1 KiB

sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh06-Nov-20124.5 KiB

sun_solaris_cr_xxxxxxxx_template.sh06-Nov-20121.6 KiB

sun_solaris_getconf.sh06-Nov-20125.4 KiB

sun_solaris_local_compound_nameref001.sh06-Nov-20121.4 KiB

sun_solaris_locale_misc.sh06-Nov-20125.4 KiB

sun_solaris_staticvariables.sh06-Nov-20123.4 KiB

sun_solaris_vartree001.sh06-Nov-20125.6 KiB

sun_solaris_vartree002.sh06-Nov-201211.4 KiB

sun_solaris_vartree003.sh06-Nov-20125.6 KiB

tilde.sh06-Nov-20122.9 KiB

timetype.sh06-Nov-20123.5 KiB

treemove.sh06-Nov-20122.1 KiB

types.sh06-Nov-20129.7 KiB

variables.sh06-Nov-201216.1 KiB

vartree1.sh06-Nov-20126.4 KiB

vartree2.sh06-Nov-201210.7 KiB

README.tests

1
2#### ksh93 test suite
3
4## Intro
5The directory /usr/demo/ksh/tests/ contains the ksh93 test suite
6which is used to verify the correct behaviour of ksh93.
7
8The test suite is split into modules with the ending *.sh
9and a frontend called "shtests" which is used to run the tests.
10
11
12## Basic description:
13/usr/demo/ksh/tests/shtests <options> <varname=value> <testmodule>
14
15<options> may be:
16    -a execute test module one time as normal script code
17       and a 2nd time as compiled shell script. The env
18       variable SHCOMP defines the version of the shell
19       compiler being used (default is "${SHELL%/*}/shcomp",
20       however it is recommended to explicitly set SHCOMP
21       to /usr/bin/shcomp).
22    -c execute test module as compiled shell script
23    -s execute test module as normal shell script
24    -t do not print timing information
25    -v use VMDEBUG
26<varname=value>
27    Sets one or more environment variables to value "value".
28<testmodule>
29    file name of test module
30
31
32## Basic usage in Solaris >= 11 and OpenSolaris/Indiana:
33The tests can be executed like this:
34$ export SHELL=<path-to-ksh93-executable>
35$ export SHCOMP=/usr/bin/shcomp
36for t in /usr/demo/ksh/tests/*.sh ; do
37    $SHELL /usr/demo/ksh/tests/shtests -a "$t"
38done
39
40Note that you MUST NOT use "/usr/bin/ksh93" as value for
41SHELL since /usr/bin/ksh93 on Solaris is a wrapper which
42selects a suitable executable in /usr/bin/<isa>/ksh93
43based on the hardware capabilities defined via /usr/bin/isalist
44
45Valid values for SHELL are:
46- SHELL=/usr/bin/i86/ksh93      # 32bit i386
47- SHELL=/usr/bin/amd64/ksh93    # 64bit AMD64
48- SHELL=/usr/bin/sparcv7/ksh93  # 32bit SPARC
49- SHELL=/usr/bin/sparcv9/ksh93  # 64bit SPARC
50- SHELL=/usr/bin/s390/ksh93     # 32bit SystemZ
51- SHELL=/usr/bin/s390x/ksh93    # 64bit SystemZ
52
53# EOF.
54