43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews#!/bin/sh
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright (C) 2010, 2012, 2016 Internet Systems Consortium, Inc. ("ISC")
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews# $Id: runall.sh,v 1.2 2010/06/17 05:38:05 marka Exp $
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews#
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews# Run all the virtual time tests.
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews#
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark AndrewsSYSTEMTESTTOP=.
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews. $SYSTEMTESTTOP/conf.sh
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews$PERL testsock.pl || {
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews echo "I:Network interface aliases not set up. Skipping tests." >&2;
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews echo "R:UNTESTED" >&2;
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews echo "E:virtual-time:`date`" >&2;
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews exit 0;
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews}
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrewsstatus=0
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrewsfor d in $SUBDIRS
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrewsdo
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews sh run.sh $d || status=1
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrewsdone
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrewsexit $status