test07.ion 546 B

123456789101112131415161718192021
  1. #!./testshell
  2. echo 'Test 7: See whether child can work on SIGINT and SIGQUIT without'
  3. echo ' terminating the shell around it. See if the shell'
  4. echo ' continues the script after the child exits. Do not'
  5. echo ' send SIGINT after the child exits.'
  6. source lib.ion
  7. echo
  8. echo 'After the catching program, you should see 4 lines of text, sent'
  9. echo 'with one second delay each'
  10. docatcher
  11. echo 'You should see 3 more lines'
  12. sleep 1
  13. echo 'You should see 2 more lines'
  14. sleep 1
  15. echo 'You should see 1 more line'
  16. sleep 1
  17. echo 'Done'