4 # Exercise dynamic PMNS features
6 # Copyright (c) 2009 Ken McDonell. All Rights Reserved.
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
17 if grep -q ' RESERVED_DO_NOT_USE[ ]*511' $PCP_VAR_DIR/pmns
/stdpmid
21 echo "No support for dynamic PMNS entries" >$seq.notrun
22 echo "$seq: [not run] `cat $seq.notrun`"
26 status
=0 # success is the default!
28 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
33 -e '/value /s//xalue /' \
34 | _filter_dumpresult \
36 -e 's/xalue /value /' \
37 -e '/Name space load:/s/[0-9][0-9.]*/NNN/'
40 # real QA test starts here
41 echo "=== PMNS_LOCAL ==="
43 for name
in sample.secret sample.secret.bar sample.secret.foo.one
45 src
/torture_pmns
-xb -v -s 1 -n $PCP_VAR_DIR/pmns
/root
$name \
50 echo "=== PMNS_REMOTE (daemon PMDA) ==="
52 for name
in sample.secret \
55 sample.secret.foo.one \
56 sample.secret.foo.bar \
57 sample.secret.foo.bar.grunt \
58 sample.secret.foo.bar.grunt.snort \
59 sample.secret.foo.bar.grunt.snort.huff.puff.seven
61 src
/torture_pmns
-b -v $name \
66 echo "=== PMNS_REMOTE (DSO PMDA) ==="
68 for name
in sampledso.secret \
69 sampledso.secret.bar \
70 sampledso.secret.foo \
71 sampledso.secret.foo.one \
72 sampledso.secret.foo.bar \
73 sampledso.secret.foo.bar.grunt \
74 sampledso.secret.foo.bar.grunt.snort \
75 sampledso.secret.foo.bar.grunt.snort.huff.puff.seven
77 src
/torture_pmns
-b -v $name \