Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 238
blob0bfbe260224075245a9cb85d8cf70023ac20dc0d
1 #! /bin/sh
2 # PCP QA Test No. 238
3 # pmnsmerge with group at deep level of PMNS and intervening
4 # levels missing
6 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 # get standard filters
13 . ./common.product
14 . ./common.filter
15 . ./common.check
17 status=0
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 mkdir $tmp.dir
22 cd $tmp.dir
24 echo >r1 '/*
25 * Test PMNS #1
28 root {
31 echo >r2 '/*
32 * Test PMNS #2
35 #define _DATESTAMP 961108
37 root {
38 foo
40 foo {
41 bar
43 foo.bar {
44 mumble
46 foo.bar.mumble {
47 fumble 1:2:3
50 rm -f out-pmns
51 pmnsmerge r1 r2 out-pmns
52 cat out-pmns
53 pminfo -n out-pmns