3 # exercise pmnsadd and pmnsdel
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
17 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
19 # real QA test starts here
20 echo "Error handling ..."
21 ( cd $PCP_VAR_DIR/pmns
; pmnsadd
)
22 pmnsadd
-n $PCP_VAR_DIR/pmns
/root
23 ( cd $PCP_VAR_DIR/pmns
; pmnsdel
)
24 pmnsdel
-n $PCP_VAR_DIR/pmns
/root
35 echo "Simple adds ... expect one.m1 in each case"
36 for root
in root .
/root
`pwd`/root ..
/`basename $tmp.dir`/root
43 echo >one.root
'root {
52 echo "Simple deletes ... expect empty PMNS in each case"
53 for root
in root .
/root
`pwd`/root ..
/`basename $tmp.dir`/root
62 echo "Expect one.m1 and two.m2 ..."
76 echo "... add two.three.* ..."
77 echo >n.m3
'two.three {
85 echo "... add five.* and five.six.* ..."
97 echo "... add two.three.four.* ..."
98 echo >n.m5
'two.three.four {
107 echo "... delete two.three.four.* ..."
108 pmnsdel
-n root two.three.four
112 echo "... delete five.* ..."
117 echo "... delete two.three.* ..."
118 pmnsdel
-n root two.three
122 echo "... delete two.* ..."