Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 138
blobab0615996d950d2f53c0e69b114e62ed480725c8
1 #! /bin/sh
2 # PCP QA Test No. 138
3 # new PMNS specification parser, thanks to white space from GNU cpp
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard filters
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 trap "rm -f $tmp $tmp.*; exit" 0 1 2 3 15
18 # real QA test starts here
20 cat <<End-of-File >$tmp
21 root {
22 one 1:2:3 /* valid */
28 a {
29 two 1 :3:4 /* 1st colon space after */
30 three 1: 3:5 /* 1st colon space before */
31 four 1 : 3:6 /* 1st colon space after and before */
34 b {
35 two 1:4 :4 /* 2nd colon space after */
36 three 1:4: 5 /* 2nd colon space before */
37 four 1:4 : 6 /* 2nd colon space after and before */
40 c {
41 two 1 :5 :4 /* both colon space after */
42 three 1: 5: 5 /* both colon space before */
43 four 1 : 5 : 6 /* both colon space after and before */
45 End-of-File
47 pminfo -m -n $tmp