File: sopts.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 (20 lines) | stat: -rwxr-xr-x 471 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
#!/bin/sh
#$Id: sopts.tests,v 1.2 2006/02/01 13:42:35 rockyb Exp $

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

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

. ${builddir}/check_common

quitcmd="${srcdir}/quit.cmd"
contcmd="${srcdir}/quit.cmd"
debugged_script="${srcdir}/dbg-test1.sh"

$BASH ${TOP_BUILDDIR}bashdb -B -q -L .. -x $contcmd -c 'echo test1'
# Note -B needs to come before -e
$BASH ${TOP_BUILDDIR}bashdb -B -e -q -L .. -x $contcmd -c 'echo not run'