blob: a4c03f348d951116466ea3e09e9d2703f092f770 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#! /bin/sh
# PCP QA Test No. 158
#
# -S and -T values that are _both_ before the start, or after the end
# of an archive ... for cmds in the open source PCP release (see also
# 160)
#
# PV 928021
#
# Copyright (c) 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
# output depends on fix for pv 928021
#
rm -f $seq.out
if [ $PCP_VER -gt 2400 ]
then
# fix is in pcp-2.4.1-1
ln $seq.out.2 $seq.out
else
ln $seq.out.1 $seq.out
fi
status=0 # success is the default!
$sudo rm -rf $tmp.*
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
#
# the archive src/rattle
# Performance metrics from host rattle
# commencing Sat May 17 21:22:42.025 1997
# ending Mon May 19 10:22:42.021 1997
# -S and -T before the start of the archive
#
pmval -z -S '@Sat May 10 01:00:00 1997' -T '@Sat May 10 01:00:00 1997' -a src/rattle irix.kernel.all.load
echo
echo "irix.kernel.all.load;" \
| pmie -z -v -S '@Sat May 10 01:00:00 1997' -T '@Sat May 10 01:00:00 1997' -a src/rattle 2>&1 \
| grep -v 'evaluator exiting'
# -S and -T after the end of the archive
#
echo
pmval -z -S '@Sat May 24 01:00:00 1997' -T '@Sat May 24 01:00:00 1997' -a src/rattle irix.kernel.all.load
echo
echo "irix.kernel.all.load;" \
| pmie -v -S '@Sat May 24 01:00:00 1997' -T '@Sat May 24 01:00:00 1997' -a src/rattle 2>&1 \
| grep -v 'evaluator exiting'
# success, all done
exit
|