pmrep: fix archive end time reporting
[pcp.git] / qa / 977
blob60d68153a2b0c26806695940a5a516473a57c411
1 #!/bin/sh
2 # PCP QA Test No. 977
3 # Exercise fix for a new/destroy context leak with attrs.
5 # Copyright (c) 2015 Red Hat. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 _check_valgrind
17 _check_containers
19 status=1 # failure is the default!
20 $sudo rm -rf $tmp.* $seq.full
21 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
23 # real QA test starts here
24 _run_valgrind src/grind_ctx -h pcp://localhost?container=fe4564ddf901
25 _run_valgrind src/grind_ctx -h local:?container=fe4564ddf901
26 PCP_CONTAINER=fe4564ddf901 _run_valgrind src/grind_ctx -L
28 # success, all done
29 status=0
30 exit