shpec icon indicating copy to clipboard operation
shpec copied to clipboard

trap "exception" signals

Open mathias opened this issue 12 years ago • 1 comments

So @twopoint718 actually suggested this: use trap to be able to capture and keep track of signals sent by something running inside an assertion.

http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html

mathias avatar Feb 06 '13 15:02 mathias

You would need a 'trap handler' as another test script could hook trap and the assert trap handler would stomp on it.

nwmcsween avatar May 20 '18 20:05 nwmcsween