tests.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
#
# Copyright (C) 2000, 2001, 2004, 2007, 2011-2014, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# $Id: tests.sh,v 1.22 2012/02/03 23:46:58 tbox Exp $
status=0
echo "I:waiting for nameserver to load"
do
ret=0
do
done
test $ret = 0 && break
sleep 1
done
echo "I:using resolv.conf"
ret=0
do
sleep 1
done
if [ $ret != 0 ]; then
echo "I:failed"
fi
$PERL $SYSTEMTESTTOP/start.pl . lwresd1 -- "-X lwresd.lock -m record,size,mctx -c lwresd.conf -d 99 -g"
echo "I:using lwresd.conf"
ret=0
do
sleep 1
done
if [ $ret != 0 ]; then
echo "I:failed"
fi
echo "I:exit status: $status"