test01.sh 342 B

12345678910111213141516
  1. #!./testshell
  2. echo 'Test 1: See whether child can work on SIGINT and SIGQUIT without'
  3. echo ' terminating the shell around it. See if the shell is'
  4. echo ' interruptable afterwards'
  5. if [ $ZSH_VERSION ] ; then
  6. source lib.sh
  7. else
  8. . ./lib.sh
  9. fi
  10. docatcher
  11. echo 'Now try to exit shell loop with C-c, C-\ or SIGTERM'
  12. endless