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

--- bzip2 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 ...

--- bzip2 last volume and use existing .9.bz2 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.bz2
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.9.bz2
> pmie ...

--- bzip2 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 ...

--- bzip2 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 ...

--- bzip2 first few, middle and last few volumes and use existing .7.bz2 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.bz2
< archive:   src/mv-bigbin
---
> archive:   mv-bigbin.7.bz2
> 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.bz2": No such file or directory
pmprobe: Cannot open archive "mv-bigbin.10.bz2": No such file or directory
pmval: Cannot open archive "mv-bigbin.10.bz2": No such file or directory
pmie: cannot open archive mv-bigbin.10.bz2
pmNewContext failed: No such file or directory
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Success
	Input file = ./null.0.bz2, output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
pminfo: Cannot open archive "null": Corrupted record in a PCP archive log