summaryrefslogtreecommitdiff
path: root/qa/245.out
blob: 2890f1074ff780b2094eb284fd7814456a2b4140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
QA output created by 245
+++ Errors +++

=== no args ===
Usage: pmnsdel [options] metricpath [...]

Options:
  -d, --duplicates      duplicate PMIDs are allowed
  -n FILE, --namespace=FILE
                        use an alternative PMNS
  -?, --help            show this usage message and exit

=== no such PMNS file ===
Error Parsing ASCII PMNS: Cannot open "no-such-input"
pmnsdel: Error: pmLoadNameSpace(no-such-input): No such file or directory

=== cannot open existing output file for writing ===

=== cannot create output file ===
pmnsdel: Error: cannot open PMNS file "mypmns.new" for writing: Permission denied

=== syntax error in input ===
[mypmns:2] Error Parsing ASCII PMNS: Expected NAME, PMID or }
    bogus - this is not correct
          ^
pmnsdel: Error: pmLoadNameSpace(mypmns): Problems parsing PMNS definitions

+++ Common starting PMNS for all remaing tests ...
one PMID: 1.1.1
sub0.five PMID: 5.5.5
sub0.four PMID: 4.4.4
sub0.sub2.seven PMID: 7.7.7
sub0.sub2.sub4.sub6.nine PMID: 9.9.9
sub1.eight PMID: 8.8.8
sub1.six PMID: 6.6.6
three PMID: 3.3.3
two PMID: 2.2.2

=== assorted undefined metricpaths ===
pmnsdel: Error: metricpath "leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.sub6.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.sub6.no_nonleaf.no_leaf" not defined in the PMNS

+++ Operations +++

=== single metric ===
one:
diffs ...
1d0
< one PMID: 1.1.1
sub0.sub2.sub4.sub6.nine:
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
sub0.sub2.seven:
diffs ...
4d3
< sub0.sub2.seven PMID: 7.7.7

=== multiple metrics ===
delete: one sub0.sub2.sub4.sub6.nine sub0.sub2.seven
diffs ...
1d0
< one PMID: 1.1.1
4,5d2
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9

=== non-leaves ===
delete: sub0
diffs ...
2,5d1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub1
diffs ...
6,7d5
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6
delete: sub0.sub2
diffs ...
4,5d3
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2.sub4
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2.sub4.sub6
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2
diffs ...
4,5d3
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub1 sub0.sub2.sub4.sub6 sub0 
diffs ...
2,7d1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6

=== all leaves ===
delete: one sub0.four sub0.sub2.seven sub0.sub2.sub4.sub6.nine sub0.five two three sub1.six sub1.eight 
diffs ...
1,9c1
< one PMID: 1.1.1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6
< three PMID: 3.3.3
< two PMID: 2.2.2
---
> PMNS appears to be empty!