12345678910111213141516171819202122232425 |
- #!./testshell
- echo 'Test 7: See whether child can work on SIGINT and SIGQUIT without'
- echo ' terminating the shell around it. See if the shell'
- echo ' continues the script after the child exits. Do not'
- echo ' send SIGINT after the child exits.'
- if [ $ZSH_VERSION ] ; then
- source lib.sh
- else
- . ./lib.sh
- fi
- echo
- echo 'After the catching program, you should see 4 lines of text, sent'
- echo 'with one second delay each'
- docatcher
- echo 'You should see 3 more lines'
- sleep 1
- echo 'You should see 2 more lines'
- sleep 1
- echo 'You should see 1 more line'
- sleep 1
- echo 'Done'
|