Files
bash/tests/cracauer-testsuite/test07.sh
T
2011-12-03 12:52:47 -05:00

24 lines
539 B
Bash

#!./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'
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'