Name Date Size #Lines LOC

..--

README.testsH A D28-Oct-20091.8 KiB5442

alias.shH A D03-Apr-20103.7 KiB10077

append.shH A D03-Apr-20102.8 KiB8160

arith.shH A D03-Apr-201016 KiB563527

arrays.shH A D03-Apr-201014.6 KiB502472

arrays2.shH A D03-Apr-20104 KiB124100

attributes.shH A D03-Apr-201011 KiB364328

basic.shH A D03-Apr-201014.5 KiB483447

bracket.shH A D03-Apr-201010.3 KiB324297

builtins.shH A D03-Apr-201017.5 KiB529438

case.shH A D03-Apr-20102.4 KiB8259

comvar.shH A D03-Apr-201015.1 KiB542490

coprocess.shH A D03-Apr-20107.2 KiB314267

cubetype.shH A D03-Apr-20108.5 KiB212186

enum.shH A D03-Apr-20102.8 KiB6847

exit.shH A D03-Apr-20102.8 KiB8156

expand.shH A D03-Apr-20105 KiB12697

functions.shH A D03-Apr-201036.8 KiB1,097774

glob.shH A D03-Apr-201010.8 KiB376299

grep.shH A D03-Apr-20103.3 KiB10577

heredoc.shH A D03-Apr-20108.4 KiB256231

io.shH A D03-Apr-201014 KiB452413

nameref.shH A D03-Apr-20109.6 KiB366331

options.shH A D03-Apr-201017.1 KiB500437

path.shH A D03-Apr-201011 KiB307265

pointtype.shH A D03-Apr-20104.9 KiB146116

quoting.shH A D03-Apr-201013.1 KiB343282

quoting2.shH A D03-Apr-20106.8 KiB210189

recttype.shH A D03-Apr-20102.3 KiB7046

restricted.shH A D03-Apr-20103.7 KiB8357

return.shH A D03-Apr-20104.3 KiB183152

select.shH A D03-Apr-20102.1 KiB6741

shtestsH A D03-Apr-20103.1 KiB156153

sigchld.shH A D03-Apr-20104 KiB14099

signal.shH A D03-Apr-20108.3 KiB324258

statics.shH A D03-Apr-20103.9 KiB10759

subshell.shH A D03-Apr-201012.3 KiB473402

substring.shH A D03-Apr-201019.4 KiB569534

sun_solaris_array_default_datatype.shH A D03-Apr-201012.6 KiB303193

sun_solaris_builtin_poll.shH A D28-Oct-20092.4 KiB7329

sun_solaris_builtin_sum.shH A D03-Apr-20105.5 KiB11158

sun_solaris_builtin_tail.shH A D03-Apr-201011.8 KiB501350

sun_solaris_command_substitution.shH A D03-Apr-201011.5 KiB291142

sun_solaris_compound_misc.shH A D03-Apr-20106.1 KiB164100

sun_solaris_compound_nameref.shH A D03-Apr-20104.5 KiB215115

sun_solaris_compoundvario.shH A D03-Apr-20109.9 KiB335233

sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.shH A D03-Apr-20105.7 KiB21576

sun_solaris_cr_6713682_compound_var_bleeds_through_subshell.shH A D03-Apr-20105.4 KiB11236

sun_solaris_cr_6722134_background_CHLD_trap.shH A D03-Apr-20103.4 KiB12355

sun_solaris_cr_6753538_subshell_leaks_umask.shH A D03-Apr-20103 KiB10132

sun_solaris_cr_6754020_weird_square_bracket_expansion.shH A D03-Apr-20102.1 KiB8120

sun_solaris_cr_6763594_command_failure_execs_twice.shH A D03-Apr-20103 KiB9922

sun_solaris_cr_6766246_pattern_matching_bug.shH A D03-Apr-20105.2 KiB17582

sun_solaris_cr_6769332_substitutions_terminate_shell_after_257_iterations.shH A D03-Apr-20103.1 KiB12435

sun_solaris_cr_6777491_lacks_arithmetric_function_iszero.shH A D03-Apr-20102.7 KiB9529

sun_solaris_cr_6778077_sigthaw_trap.shH A D03-Apr-20102.6 KiB8321

sun_solaris_cr_6789247_printf_hexfloat_rounding.shH A D03-Apr-20103.8 KiB13026

sun_solaris_cr_6800929_large_command_substitution_hang.shH A D03-Apr-20107.4 KiB21287

sun_solaris_cr_6805792_varmovetest1.shH A D03-Apr-20103.4 KiB15240

sun_solaris_cr_6805794_character_to_wchar_not_working.shH A D03-Apr-20102.8 KiB10619

sun_solaris_cr_6805795_negative_zero.shH A D03-Apr-20103.8 KiB17062

sun_solaris_cr_6807179_shellpattern_uses_getpwnam.shH A D03-Apr-20103.5 KiB8924

sun_solaris_cr_6835835_builtin_cat_n_broken.shH A D03-Apr-20104.2 KiB13932

sun_solaris_cr_6848486_echo_test_with_test_undefined_executes_test_builtin.shH A D03-Apr-20103.2 KiB9417

sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.shH A D03-Apr-20104.5 KiB14540

sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.shH A D03-Apr-20103.3 KiB11130

sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.shH A D03-Apr-20102.5 KiB8217

sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.shH A D03-Apr-20104.4 KiB18496

sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.shH A D03-Apr-20105.1 KiB17587

sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.shH A D03-Apr-20105.1 KiB19493

sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.shH A D03-Apr-20105.1 KiB19192

sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.shH A D03-Apr-20104.5 KiB222102

sun_solaris_cr_xxxxxxxx_template.shH A D03-Apr-20101.6 KiB6719

sun_solaris_getconf.shH A D03-Apr-20105.4 KiB17699

sun_solaris_local_compound_nameref001.shH A D28-Oct-20091.4 KiB6925

sun_solaris_locale_misc.shH A D03-Apr-20105.4 KiB189114

sun_solaris_staticvariables.shH A D03-Apr-20103.4 KiB11459

sun_solaris_vartree001.shH A D03-Apr-20105.6 KiB193108

sun_solaris_vartree002.shH A D03-Apr-201011.4 KiB359237

sun_solaris_vartree003.shH A D03-Apr-20105.6 KiB200149

tilde.shH A D03-Apr-20102.9 KiB9672

timetype.shH A D03-Apr-20103.5 KiB8158

treemove.shH A D28-Oct-20092.1 KiB8635

types.shH A D03-Apr-20109.7 KiB380341

variables.shH A D03-Apr-201016.1 KiB660597

vartree1.shH A D03-Apr-20106.4 KiB215145

vartree2.shH A D03-Apr-201010.7 KiB335223

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