1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/bin/sh
#$Id: lopts.tests,v 1.1 2006/01/30 01:50:56 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 --help -q -L ..
$BASH ${TOP_BUILDDIR}bashdb --quiet -B --library .. \
-x $quitcmd $debugged_script
$BASH ${TOP_BUILDDIR}bashdb --base --quiet --lib .. --base \
-x $quitcmd $debugged_script
$BASH ${TOP_BUILDDIR}bashdb -B -q -L .. -x $contcmd --command 'echo test1a'
$BASH ${TOP_BUILDDIR}bashdb --basename --badopt -q -L .. \
-x $contcmd --command 'echo test2a'
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***
|