Home | History | Annotate | only in /onnv/onnv-gate/usr/src/lib/libshell/common/tests
Up to higher level directory
NameDateSize
alias.sh28-Oct-20093.7K
append.sh28-Oct-20092.8K
arith.sh28-Oct-200915.4K
arrays.sh28-Oct-200914.2K
arrays2.sh28-Oct-20094K
attributes.sh28-Oct-200910.2K
basic.sh28-Oct-200914K
bracket.sh28-Oct-200910.3K
builtins.sh28-Oct-200917.5K
case.sh28-Oct-20092.4K
comvar.sh28-Oct-200915.1K
coprocess.sh28-Oct-20097.2K
cubetype.sh28-Oct-20098.5K
enum.sh28-Oct-20092.8K
exit.sh28-Oct-20092.8K
expand.sh28-Oct-20095K
functions.sh28-Oct-200936.4K
glob.sh28-Oct-200910.8K
grep.sh28-Oct-20093.3K
heredoc.sh28-Oct-20098.4K
io.sh28-Oct-200914K
nameref.sh28-Oct-20099.6K
options.sh28-Oct-200917.1K
path.sh28-Oct-200911K
pointtype.sh28-Oct-20094.9K
quoting.sh28-Oct-200913.1K
quoting2.sh28-Oct-20096.8K
README.tests28-Oct-20091.8K
recttype.sh28-Oct-20092.3K
restricted.sh28-Oct-20093.7K
return.sh28-Oct-20094.3K
select.sh28-Oct-20092.1K
shtests28-Oct-20092.9K
sigchld.sh28-Oct-20093.4K
signal.sh28-Oct-20098.3K
statics.sh28-Oct-20093.9K
subshell.sh28-Oct-200911.8K
substring.sh28-Oct-200919.4K
sun_solaris_array_default_datatype.sh28-Oct-200912.6K
sun_solaris_builtin_poll.sh28-Oct-20092.4K
sun_solaris_builtin_sum.sh28-Oct-20095.5K
sun_solaris_builtin_tail.sh28-Oct-200910.5K
sun_solaris_command_substitution.sh28-Oct-200911.5K
sun_solaris_compound_nameref.sh28-Oct-20094.5K
sun_solaris_compoundvario.sh28-Oct-20099.9K
sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh28-Oct-20095.7K
sun_solaris_cr_6713682_compound_var_bleeds_through_subshell.sh28-Oct-20095.4K
sun_solaris_cr_6722134_background_CHLD_trap.sh28-Oct-20093.4K
sun_solaris_cr_6753538_subshell_leaks_umask.sh28-Oct-20093K
sun_solaris_cr_6754020_weird_square_bracket_expansion.sh28-Oct-20092.1K
sun_solaris_cr_6763594_command_failure_execs_twice.sh28-Oct-20093K
sun_solaris_cr_6766246_pattern_matching_bug.sh28-Oct-20095.2K
sun_solaris_cr_6769332_substitutions_terminate_shell_after_257_iterations.sh28-Oct-20093.1K
sun_solaris_cr_6777491_lacks_arithmetric_function_iszero.sh28-Oct-20092.7K
sun_solaris_cr_6778077_sigthaw_trap.sh28-Oct-20092.6K
sun_solaris_cr_6789247_printf_hexfloat_rounding.sh28-Oct-20093.8K
sun_solaris_cr_6800929_large_command_substitution_hang.sh28-Oct-20097.4K
sun_solaris_cr_6805792_varmovetest1.sh28-Oct-20093.4K
sun_solaris_cr_6805794_character_to_wchar_not_working.sh28-Oct-20092.8K
sun_solaris_cr_6805795_negative_zero.sh28-Oct-20093.8K
sun_solaris_cr_6807179_shellpattern_uses_getpwnam.sh19-Mar-20093.6K
sun_solaris_cr_6835835_builtin_cat_n_broken.sh28-Oct-20094.2K
sun_solaris_cr_6848486_echo_test_with_test_undefined_executes_test_builtin.sh28-Oct-20093.2K
sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh28-Oct-20094.5K
sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.sh28-Oct-20093.2K
sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh28-Oct-20092.5K
sun_solaris_getconf.sh28-Oct-20095.4K
sun_solaris_local_compound_nameref001.sh28-Oct-20091.4K
sun_solaris_staticvariables.sh28-Oct-20093.4K
sun_solaris_vartree001.sh28-Oct-20095.6K
sun_solaris_vartree002.sh28-Oct-200911.4K
sun_solaris_vartree003.sh28-Oct-20095.6K
tilde.sh28-Oct-20092.9K
timetype.sh28-Oct-20093.5K
treemove.sh28-Oct-20092.1K
types.sh28-Oct-20099.7K
variables.sh28-Oct-200915.8K
vartree1.sh28-Oct-20096.4K
vartree2.sh28-Oct-200910.7K

README.tests

      1 
      2 #### ksh93 test suite
      3 
      4 ## Intro
      5 The directory /usr/demo/ksh/tests/ contains the ksh93 test suite
      6 which is used to verify the correct behaviour of ksh93.
      7 
      8 The test suite is split into modules with the ending *.sh
      9 and 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:
     33 The tests can be executed like this:
     34 $ export SHELL=<path-to-ksh93-executable>
     35 $ export SHCOMP=/usr/bin/shcomp
     36 for t in /usr/demo/ksh/tests/*.sh ; do
     37     $SHELL /usr/demo/ksh/tests/shtests -a "$t"
     38 done
     39 
     40 Note that you MUST NOT use "/usr/bin/ksh93" as value for
     41 SHELL since /usr/bin/ksh93 on Solaris is a wrapper which
     42 selects a suitable executable in /usr/bin/<isa>/ksh93
     43 based on the hardware capabilities defined via /usr/bin/isalist
     44 
     45 Valid 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