#!/bin/sh
# PCP QA Test No. 062
# Test pmcd's ability to suppress multiple access control warnings
# from the same host
#
# Copyright (c) 2012-2013 Red Hat.
# Copyright (c) 1995-2002 Silicon Graphics, Inc.  All Rights Reserved.
#

seq=`basename $0`
echo "QA output created by $seq"

# get standard environment, filters and checks
. ./common.product
. ./common.filter
. ./common.check

# These apps do _lots_ of reverse DNS lookups, so populate /etc/hosts
# with lots of bogus but matching entries to try and speed things up.
#
src/fixhosts

# real QA test starts here

echo "testing single op for all ops..."
echo "may dump core for IRIX 6.1 ... bug in gethostbyname()"
src/chkacc1
echo

echo "testing all except one op for all ops..."
echo "may dump core for IRIX 6.1 ... bug in gethostbyname()"
src/chkacc2
echo

echo "testing all combinations of ops in a range..."
echo "may dump core for IRIX 6.1 ... bug in gethostbyname()"
src/chkacc3
