#
# Interrupt a writing process
#
TEST=`basename $0`
interrupt -s HUP -t 10 -m "${TEST}a (interrupted write HUP)" \
	-- writer -l 256k -f testfile
rm -f testfile

interrupt -s TERM -t 10 -m "${TEST}b (interrupted write TERM)" \
	-- writer -l 256k -f testfile
rm -f testfile

interrupt -s ALRM -t 10 -m "${TEST}c (interrupted write ALRM)" \
	-- writer -l 256k -f testfile
rm -f testfile

interrupt -s KILL -t 10 -m "${TEST}d (interrupted write KILL)" \
	-- writer -l 256k -f testfile
rm -f testfile
