3 # (C)opyright 2012 by Darren Reed.
5 # See the IPFILTER.LICENCE file for details on licencing.
14 if [ -n "${FINDLEAKS}" -a -x /bin/mdb ] ; then
19 if [ -x /bin/coreadm ] ; then
21 coreadm -p "${PWD}/$_cn"
28 if [ $1 -ne 0 ] ; then
29 if [ ${_findleaks} = 1 -a -f $_cn ] ; then
30 echo "==== ${name}:${n} ====" >> leaktest
31 echo '::findleaks' | mdb ../i86/ipftest $_cn >> leaktest
40 cmp expected/$1 results/$1
42 if [ $status = 0 ] ; then
48 if [ -f /bin/touch ] ; then
51 if [ -f /usr/bin/touch ] ; then
54 if [ -f /usr/ucb/touch ] ; then