On Wed, Apr 24, 2013 at 1:17 AM, Roland Mainz <[email protected]> wrote: > Hi! > > ---- > > Attached (as > "sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh.gz") > is a test module from the old OpenSolaris ksh93-integration project > which tests the EXIT trap functionality... in ast-ksh.2013-04-09 it > worked without problems but in ast-ksh.2013-04-22 it started to fail > like this: > -- snip -- > + > /home/test001/ksh93/ast_ksh_20130422/build_sparc_64bit_opt/arch/sol11.sun4-64/src/cmd/ksh93/ksh > ./src/cmd/ksh93/tests/shtests --locale > LD_LIBRARY_PATH_64=/home/test001/ksh93/ast_ksh_20130422/build_sparc_64bit_opt/arch/sol11.sun4-64/lib: > LD_LIBRARY_PATH=/home/test001/ksh93/ast_ksh_20130422/build_sparc_64bit_opt/arch/sol11.sun4-64/lib: > LD_LIBRARY_PATH_32=/home/test001/ksh93/ast_ksh_20130422/build_sparc_64bit_opt/arch/sol11.sun4-64/lib: > LC_ALL=C LANG=C VMALLOC_OPTIONS=abort > SHCOMP=/home/test001/ksh93/ast_ksh_20130422/build_sparc_64bit_opt/arch/*/bin/shcomp > ./src/cmd/ksh93/tests/sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh > test sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice > begins at 2013-04-23+23:40:33 > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell=x\='${ ( B ) ; > }';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell='( x=${ ( B ) > ; } )';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', got 'TRAP > B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return > 0';shell_options='';subshell=x\='${ ( B ) ; > }';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', > got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell=x\='${ ( B ) ; > }';xtrace1='';xtrace2='set -x')|: Expected $'TRAP A\nTRAP B', got > 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell='( x=${ ( B ) > ; } )';xtrace1='';xtrace2='set -x')|: Expected $'TRAP A\nTRAP B', got > 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return > 0';shell_options='';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell=x\='${ ( B ) ; > }';xtrace1='set -x';xtrace2='')|: Expected $'TRAP A\nTRAP B', got > 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell='( x=${ ( B ) > ; } )';xtrace1='set -x';xtrace2='')|: Expected $'TRAP A\nTRAP B', got > 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return > 0';shell_options='';subshell=x\='${ ( B ) ; }';xtrace1='set > -x';xtrace2='')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell=x\='${ ( B ) ; > }';xtrace1='set -x';xtrace2='set -x')|: Expected $'TRAP A\nTRAP B', > got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='';subshell='( x=${ ( B ) > ; } )';xtrace1='set -x';xtrace2='set -x')|: Expected $'TRAP A\nTRAP > B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return > 0';shell_options='';subshell=x\='${ ( B ) ; }';xtrace1='set > -x';xtrace2='set -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o xtrace';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', > got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o xtrace';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o xtrace';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o xtrace';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: Expected $'TRAP A\nTRAP B', > got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit';subshell='( > x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit';subshell='( > x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set -x')|: Expected $'TRAP > A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o > errexit';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='')|: Expected > $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='';xtrace2='set -x')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='')|: > Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell=x\='${ ( B ) ; }';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > > sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh[181]: > test |(func_A_end='print >&2 ; return 0';shell_options='-o errexit -o > xtrace';subshell='( x=${ ( B ) ; } )';xtrace1='set -x';xtrace2='set > -x')|: Expected $'TRAP A\nTRAP B', got 'TRAP B' > test sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice > failed at 2013-04-23+23:40:50 with exit code 64 [ 9 tests 64 errors ] > -- snip --
Please push for a fix. The bug causes boot failures if this ksh93 version is used as /usr/bin/sh in Illumos. Irek _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
