tests.sh revision 7d262a3647a517a86d6d83058aedd18b7a6b06df
#
# Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
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"