pmrep: fix archive end time reporting
[pcp.git] / qa / 012.darwin
blob84ae24061b8102634d802ba23e718969b88344a2
1 QA output created by 012
2 Case 1: should be error-free ...
4 --- fd=1 ---
5 stdout:
6 This message on oldstream before __pmOpenLog() called
7 stderr:
8 Starting with oldstream (stdout) fd=1, nextfd=3
9 __pmOpenLog -> sts=1, log tmp.log newstream (stdout) fd=1, nextfd=3
10 log file:
11 Log for chkopenlog on MYHOST started ...
13 [a helpful little message]
15 Log finished ...
17 --- fd=2 ---
18 stdout:
19 stderr:
20 This message on oldstream before __pmOpenLog() called
21 Starting with oldstream (stderr) fd=2, nextfd=3
22 log file:
23 Log for chkopenlog on MYHOST started ...
25 __pmOpenLog -> sts=1, log tmp.log newstream (stderr) fd=2, nextfd=3
26 [a helpful little message]
28 Log finished ...
30 --- fd=3 ---
31 stdout:
32 stderr:
33 Starting with oldstream fd=3, nextfd=4
34 __pmOpenLog -> sts=1, log tmp.log newstream fd=3, nextfd=4
35 log file:
36 Log for chkopenlog on MYHOST started ...
38 [a helpful little message]
40 Log finished ...
41 chk.fout:
42 This message on oldstream before __pmOpenLog() called
44 Case 2: __pmOpenLog expected to have problems ...
46 --- fd=1 ---
47 stdout:
48 This message on oldstream before __pmOpenLog() called
49 Log for chkopenlog on MYHOST started ...
51 [a helpful little message]
53 Log finished ...
54 stderr:
55 Starting with oldstream (stdout) fd=1, nextfd=3
56 chkopenlog: cannot open log "tmp.log" for writing : Permission denied
57 __pmOpenLog -> sts=0, log tmp.log newstream (stdout) fd=1, nextfd=3
58 log file:
59 THIS SHOULD NOT BE OVERWRITTEN
61 --- fd=2 ---
62 stdout:
63 stderr:
64 This message on oldstream before __pmOpenLog() called
65 Starting with oldstream (stderr) fd=2, nextfd=3
66 chkopenlog: cannot open log "tmp.log" for writing : Permission denied
67 Log for chkopenlog on MYHOST started ...
69 __pmOpenLog -> sts=0, log tmp.log newstream (stderr) fd=2, nextfd=3
70 [a helpful little message]
72 Log finished ...
73 log file:
74 THIS SHOULD NOT BE OVERWRITTEN
76 --- fd=3 ---
77 stdout:
78 stderr:
79 Starting with oldstream fd=3, nextfd=4
80 chkopenlog: cannot open log "tmp.log" for writing : Permission denied
81 __pmOpenLog -> sts=0, log tmp.log newstream fd=3, nextfd=4
82 log file:
83 THIS SHOULD NOT BE OVERWRITTEN
84 chk.fout:
85 This message on oldstream before __pmOpenLog() called
86 Log for chkopenlog on MYHOST started ...
88 [a helpful little message]
90 Log finished ...