pmrep: further zbxsend python3 fixes
[pcp.git] / qa / 012.linux
blob7a57875971b155d2d9159ac7c262014a2dcd9256
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 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 Log for chkopenlog on MYHOST started ...
68 [a helpful little message]
70 Log finished ...
71 log file:
72 THIS SHOULD NOT BE OVERWRITTEN
74 --- fd=3 ---
75 stdout:
76 stderr:
77 Starting with oldstream fd=3, nextfd=4
78 chkopenlog: cannot open log "tmp.log" for writing : Permission denied
79 __pmOpenLog -> sts=0, log tmp.log newstream fd=3, nextfd=4
80 log file:
81 THIS SHOULD NOT BE OVERWRITTEN
82 chk.fout:
83 This message on oldstream before __pmOpenLog() called
84 Log for chkopenlog on MYHOST started ...
86 [a helpful little message]
88 Log finished ...