tests.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
#
# Copyright (C) 2015, 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/.
status=0
sleep 2
sleep 1
# XXX: file output should be flushed once a second according
# to the libfstrm source, but it doesn't seem to happen until
# enough data has accumulated. to get all the output, we stop
# the name servers, forcing a flush on shutdown. it would be
# nice to find a better way to do this.
sleep 1
echo "I:checking initial message counts"
echo "I: checking UDP message counts"
ret=0
}
}
}
echo "I: checking TCP message counts"
ret=0
}
}
}
echo "I: checking AUTH_QUERY message counts"
ret=0
}
}
}
echo "I: checking AUTH_RESPONSE message counts"
ret=0
}
}
}
echo "I: checking CLIENT_QUERY message counts"
ret=0
}
}
}
echo "I: checking CLIENT_RESPONSE message counts"
ret=0
}
}
}
echo "I: checking RESOLVER_QUERY message counts"
ret=0
}
}
}
echo "I: checking RESOLVER_RESPONSE message counts"
ret=0
}
}
}
echo "I:checking reopened message counts"
echo "I: checking UDP message counts"
ret=0
}
}
}
echo "I: checking TCP message counts"
ret=0
}
}
}
echo "I: checking AUTH_QUERY message counts"
ret=0
}
}
}
echo "I: checking AUTH_RESPONSE message counts"
ret=0
}
}
}
echo "I: checking CLIENT_QUERY message counts"
ret=0
}
}
}
echo "I: checking CLIENT_RESPONSE message counts"
ret=0
}
}
}
echo "I: checking RESOLVER_QUERY message counts"
ret=0
}
}
}
echo "I: checking RESOLVER_RESPONSE message counts"
ret=0
}
}
}
echo "I:exit status: $status"