#!/bin/sh # PCP QA Test No. 978 # Exercise pmgetopt(1) functionality. # # Copyright (c) 2014 Red Hat. # seq=`basename $0` echo "QA output created by $seq" # get standard environment, filters and checks . ./common.product . ./common.filter . ./common.check status=1 # failure is the default! $sudo rm -rf $tmp.* $seq.full trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15 # real QA test starts here cat > $tmp.config1 < $tmp.config2 < $tmp.config3 <