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

20 lines
399 B
Bash

#!./testshell
echo 'Test 8: Start a child that is to be interrupted by SIGINT.'
echo ' The shell should not continue with the script'
if [ $ZSH_VERSION ] ; then
source lib.sh
else
. lib.sh
fi
echo
echo 'Should exit immedeatly after you break cat by SIGINT'
echo cat
cat
sleep 1
echo 'If you see this, you have a problem'
sleep 1
echo 'If you see this, you have even more problems'