1#!/bin/sh 2 3incdir=`dirname $0`/../../../testprogs/blackbox 4. $incdir/subunit.sh 5 6if [ ! -x $BINDIR/resolvconftest ] ; then 7 # Some machines don't have /bin/true, simulate it 8 cat >$BINDIR/resolvconftest <<EOF 9#!/bin/sh 10exit 0 11EOF 12 chmod +x $BINDIR/resolvconftest 13fi 14 15failed=0 16 17testit "resolvconf" $VALGRIND $BINDIR/resolvconftest || 18 failed=`expr $failed + 1` 19 20testok $0 $failed 21