Name Date Size #Lines LOC

..10-Dec-2021-

README.testsH A D10-Dec-20211.6 KiB5238

illumos_13434_chunked_heredoc.shH A D14-Feb-20218.3 KiB15827

illumos_4149_builtin_head.shH A D10-Dec-20213.4 KiB12668

sun_solaris_array_default_datatype.shH A D14-Feb-202112.6 KiB303193

sun_solaris_builtin_poll.shH A D14-Feb-20212.4 KiB7329

sun_solaris_builtin_sum.shH A D14-Feb-20215.5 KiB11158

sun_solaris_builtin_tail.shH A D14-Feb-202111.7 KiB498347

sun_solaris_command_substitution.shH A D14-Feb-202111.5 KiB291142

sun_solaris_compound_misc.shH A D14-Feb-20216.1 KiB164100

sun_solaris_compound_nameref.shH A D14-Feb-20214.5 KiB215115

sun_solaris_compoundvario.shH A D14-Feb-20219.9 KiB335233

sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.shH A D14-Feb-20215.7 KiB21576

sun_solaris_cr_6713682_compound_var_bleeds_through_subshell.shH A D14-Feb-20215.4 KiB11236

sun_solaris_cr_6722134_background_CHLD_trap.shH A D14-Feb-20213.4 KiB12355

sun_solaris_cr_6753538_subshell_leaks_umask.shH A D14-Feb-20213 KiB10132

sun_solaris_cr_6754020_weird_square_bracket_expansion.shH A D14-Feb-20212.1 KiB8120

sun_solaris_cr_6763594_command_failure_execs_twice.shH A D14-Feb-20213 KiB9922

sun_solaris_cr_6766246_pattern_matching_bug.shH A D14-Feb-20215.2 KiB17582

sun_solaris_cr_6769332_substitutions_terminate_shell_after_257_iterations.shH A D14-Feb-20213.1 KiB12435

sun_solaris_cr_6777491_lacks_arithmetric_function_iszero.shH A D14-Feb-20212.7 KiB9529

sun_solaris_cr_6778077_sigthaw_trap.shH A D14-Feb-20212.6 KiB8321

sun_solaris_cr_6789247_printf_hexfloat_rounding.shH A D14-Feb-20213.7 KiB13026

sun_solaris_cr_6800929_large_command_substitution_hang.shH A D14-Feb-20217.4 KiB21287

sun_solaris_cr_6805792_varmovetest1.shH A D14-Feb-20213.4 KiB15240

sun_solaris_cr_6805794_character_to_wchar_not_working.shH A D14-Feb-20212.8 KiB10619

sun_solaris_cr_6805795_negative_zero.shH A D14-Feb-20213.8 KiB17062

sun_solaris_cr_6807179_shellpattern_uses_getpwnam.shH A D14-Feb-20213.5 KiB8924

sun_solaris_cr_6835835_builtin_cat_n_broken.shH A D14-Feb-20214.2 KiB13932

sun_solaris_cr_6848486_echo_test_with_test_undefined_executes_test_builtin.shH A D14-Feb-20213.2 KiB9417

sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.shH A D14-Feb-20214.5 KiB14540

sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.shH A D14-Feb-20213.1 KiB11130

sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.shH A D14-Feb-20212.5 KiB8217

sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.shH A D14-Feb-20214.3 KiB18496

sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.shH A D14-Feb-20215.1 KiB17587

sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.shH A D14-Feb-20215 KiB19493

sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.shH A D14-Feb-20215.1 KiB19192

sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.shH A D14-Feb-20214.4 KiB222102

sun_solaris_cr_xxxxxxxx_template.shH A D14-Feb-20211.6 KiB6719

sun_solaris_getconf.shH A D14-Feb-20215.4 KiB17699

sun_solaris_local_compound_nameref001.shH A D14-Feb-20211.4 KiB6925

sun_solaris_locale_misc.shH A D14-Feb-20215.3 KiB189114

sun_solaris_staticvariables.shH A D14-Feb-20213.4 KiB11459

sun_solaris_vartree001.shH A D14-Feb-20215.5 KiB193108

sun_solaris_vartree002.shH A D14-Feb-202111.3 KiB359237

sun_solaris_vartree003.shH A D14-Feb-20215.6 KiB200149

README.tests

1
2#### ksh93 test suite
3
4## Introduction
5
6The directory /opt/ksh93-tests/ contains the ksh93 test suite
7which is used to verify the correct behaviour of ksh93.
8
9The test suite is split into modules with the ending *.sh
10and a frontend called "shtests" which is used to run the tests.
11
12## Basic description:
13
14/opt/ksh93-tests/shtests <options> <varname=value> <testmodule>
15
16By default, with no <options>, each test is run three times:
17
18    o In the posix/C locale;
19    o In the C.UTF-8 locale;
20    o As a compiled script using $SHCOMP.
21
22<options> may be:
23    -c execute test module as compiled shell script only
24    -p execute test module as normal shell script in posix/C only
25    -u execute test module as normal shell script in c.UTF-8 only
26    -t do not print timing information
27    -v use VMDEBUG
28<varname=value>
29    Sets one or more environment variables to value "value".
30<testmodule>
31    file name of test module
32
33## Basic usage in illumos:
34
35The tests can be executed like this:
36$ export SHELL=<path-to-ksh93-executable>
37$ export SHCOMP=/usr/bin/shcomp
38for t in /opt/ksh93-tests/tests/*.sh; do
39    $SHELL /opt/ksh93-tests/shtests "$t"
40done
41
42Note that you MUST NOT use "/usr/bin/ksh93" as value for
43SHELL since /usr/bin/ksh93 on illumos is a wrapper which
44selects a suitable executable in /usr/bin/<isa>/ksh93
45based on the hardware capabilities defined via /usr/bin/isalist
46
47Valid values for SHELL are:
48- SHELL=/usr/bin/i86/ksh93      # 32-bit i386
49- SHELL=/usr/bin/amd64/ksh93    # 64-bit AMD64
50- SHELL=/usr/bin/sparcv7/ksh93  # 32-bit SPARC
51- SHELL=/usr/bin/sparcv9/ksh93  # 64-bit SPARC
52