summaryrefslogtreecommitdiff
path: root/qa/209
blob: ebd03e99e356bd58750d7669b992405eac3fb6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/sh
# PCP QA Test No. 209
# pmval dumps core?
#
# Copyright (c) 1995-2002 Silicon Graphics, Inc.  All Rights Reserved.
#

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

# get standard filters
. ./common.product
. ./common.filter

rm -f $seq.out
if [ $PCP_VER -lt 3600 ]
then
    # V1 archives supported
    arch=src/960624.08.17
    ln $seq.out.1 $seq.out
else
    # no support for V1 archives
    arch=src/960624.08.17_v2
    ln $seq.out.2 $seq.out
fi

tmp=/tmp/$$
status=0
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15

# real QA test starts here
pmval -z -r -n src/root_irix -U $arch disk.dev.total 2>$tmp.err
cat $tmp.err

# all done
exit