File: interrupt.tests

package info (click to toggle)
bashdb 3.1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,252 kB
  • ctags: 117
  • sloc: sh: 4,880; pascal: 3,186; lisp: 484; makefile: 315; ansic: 294
file content (23 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
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.tests,v 1.1 2006/10/03 08:54:46 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: ***