[Repost because of mailinglist outage]
---------- Forwarded message ----------
From: Roland Mainz <[email protected]>
Date: Sat, May 4, 2013 at 1:26 AM
Subject: Re: EXIT trap test module failures in ast-ksh.2013-04-22...
To: [email protected]
Cc: Glenn Fowler <[email protected]>, David Korn <[email protected]>


On Wed, May 1, 2013 at 8:28 PM, Roland Mainz <[email protected]> wrote:
> On Wed, Apr 24, 2013 at 1:17 AM, Roland Mainz <[email protected]> 
> wrote:
>> 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 --
>
> Erm... David/Glenn: Can you reproduce the bug ?

The bug is still present in ast-ksh.2013-05-03 and currently prevents
the use of that shell as /sbin/sh on Solaris 11/Illumos because it
screws-up some system scripts... ;-(

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)


-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to