Drop unused condition check
[pcp.git] / qa / 081
blobeadf28f7a39c2823612a38bc1c575489b013b496
1 #! /bin/sh
2 # PCP QA Test No. 081
3 # exercise new instance domain functions for archives
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard filters
12 . ./common.product
13 . ./common.filter
15 arch=archives/bozo.client_v2
16 pmns=
18 status=1
19 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21 _filter()
23 sed -e '/Note: timezone set to local timezone of host/d'
26 host=`./getpmcdhosts -p single -n 1 -v 'pcp>=2' 2>$tmp.out`
27 if [ -z "$host" ]
28 then
29 cat $tmp.out >$seq.notrun
30 exit
33 # real QA test starts here
34 echo "From pmcd ..."
35 src/archinst -h $host kernel.all.load kernel.percpu.cpu.user
37 echo ""
38 echo "From archive on bozo ..."
39 pmdumplog -z -i $arch | _filter
40 src/archinst $pmns -a $arch kernel.all.load kernel.percpu.cpu.user
42 status=0