summaryrefslogtreecommitdiff
path: root/qa/958.out
blob: ca25d78558b6e912e17b1caec85cc8c00b43206d (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
QA output created by 958
expect only a few lines of diff output ...

--- xz first volume ---
> pmdumplog ...
>              Warning: file missing or compressed for log volume 0
> pminfo ...
> pmprobe in the middle ...
> pmval & pmval -r ...
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin
> pmie ...

--- xz last volume and use existing .9.xz in -a arg ---
> pmdumplog ...
>              Warning: file missing or compressed for log volume 9
> pminfo ...
> pmprobe in the middle ...
> pmval & pmval -r ...
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.9.xz
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.9.xz
> pmie ...

--- xz middle volume and used existing .1 in -a arg ---
> pmdumplog ...
>              Warning: file missing or compressed for log volume 5
> pminfo ...
> pmprobe in the middle ...
> pmval & pmval -r ...
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.1
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.1
> pmie ...

--- xz first, middle and last volume and use .meta in -a arg ---
> pmdumplog ...
>              Warning: file missing or compressed for log volume 0
>              Warning: file missing or compressed for log volume 5
>              Warning: file missing or compressed for log volume 9
> pminfo ...
> pmprobe in the middle ...
> pmval & pmval -r ...
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.meta
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.meta
> pmie ...

--- xz first few, middle and last few volumes and use existing .7.xz in -a arg ---
> pmdumplog ...
>              Warning: file missing or compressed for log volume 0
>              Warning: file missing or compressed for log volume 1
>              Warning: file missing or compressed for log volume 5
>              Warning: file missing or compressed for log volume 7
>              Warning: file missing or compressed for log volume 8
>              Warning: file missing or compressed for log volume 9
> pminfo ...
> pmprobe in the middle ...
> pmval & pmval -r ...
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.7.xz
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.7.xz
> pmie ...

--- some error cases ---
pminfo: Cannot open archive "mv-bigbin.10": No such file or directory
pmprobe: Cannot open archive "mv-bigbin.10": No such file or directory
pmval: Cannot open archive "mv-bigbin.10": No such file or directory
pmie: cannot open archive mv-bigbin.10
pmNewContext failed: No such file or directory
pminfo: Cannot open archive "mv-bigbin.10.xz": No such file or directory
pmprobe: Cannot open archive "mv-bigbin.10.xz": No such file or directory
pmval: Cannot open archive "mv-bigbin.10.xz": No such file or directory
pmie: cannot open archive mv-bigbin.10.xz
pmNewContext failed: No such file or directory
xz: ./null.0.xz: File format not recognized
pminfo: Cannot open archive "null": Corrupted record in a PCP archive log