File: interrupt-3.tests

package info (click to toggle)
bashdb 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,820 kB
  • ctags: 942
  • sloc: sh: 10,581; lisp: 885; makefile: 449; ansic: 325
file content (23 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!../../bash
#$Id: interrupt-3.tests,v 1.1 2008/10/03 08:34:50 rockyb Exp $

if test -z $srcdir  ; then
  srcdir=`pwd`
fi

if test -z "$builddir"  ; then
  builddir=`pwd`
fi


CHECK_FILE=interrupt.check
$BASH ${builddir}/interrupt.sh > $CHECK_FILE & 
sleep 1; kill -TERM %1
while [[ ! -s $CHECK_FILE ]] ; do
  sleep 1
done

#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***