tests.sh revision 9c3531d72aeaad6c5f01efe6a1c82023e1379e4d
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#!/bin/sh
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Copyright (C) 2000 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# purpose with or without fee is hereby granted, provided that the above
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# copyright notice and this permission notice appear in all copies.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
368aedf188d7c7782cae8a5ce2a978be47b5a764Evan Hunt# SOFTWARE.
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington
5cd7e9d4db393c314dd1a761c52d2cb3a4da9b72Andreas Gustafsson# $Id: tests.sh,v 1.2 2000/06/22 21:52:07 tale Exp $
7332e47e11ceb87928f801b925269aa6a91838b1David Lawrence
72ddc4cef9c6a6de53aae530dea1ddbb90631131Mark AndrewsSYSTEMTESTTOP=..
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington. $SYSTEMTESTTOP/conf.sh
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington#
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington# Perform tests
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington#
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington
669e9657c731176df235832367f61435f7b83ddfAndreas Gustafssonsleep 5
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrewsstatus=0;
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington./lwtest
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellingtonstatus=`expr $status + $?`
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellingtonif [ $status != 0 ]; then
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington echo "R:FAIL"
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellingtonelse
72ddc4cef9c6a6de53aae530dea1ddbb90631131Mark Andrews echo "R:PASS"
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellingtonfi
1b4e6163bed546ca7f8ad186f3eabfebacc36bc1Brian Wellington