1 QA output created by 012
2 Case 1: should be error-free ...
6 This message on oldstream before __pmOpenLog() called
8 Starting with oldstream (stdout) fd=1, nextfd=3
9 __pmOpenLog -> sts=1, log tmp.log newstream (stdout) fd=1, nextfd=3
11 Log for chkopenlog on MYHOST started ...
13 [a helpful little message]
20 This message on oldstream before __pmOpenLog() called
21 Starting with oldstream (stderr) fd=2, nextfd=3
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]
33 Starting with oldstream fd=3, nextfd=4
34 __pmOpenLog -> sts=1, log tmp.log newstream fd=3, nextfd=4
36 Log for chkopenlog on MYHOST started ...
38 [a helpful little message]
42 This message on oldstream before __pmOpenLog() called
44 Case 2: __pmOpenLog expected to have problems ...
48 This message on oldstream before __pmOpenLog() called
49 Log for chkopenlog on MYHOST started ...
51 [a helpful little message]
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
59 THIS SHOULD NOT BE OVERWRITTEN
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]
74 THIS SHOULD NOT BE OVERWRITTEN
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
83 THIS SHOULD NOT BE OVERWRITTEN
85 This message on oldstream before __pmOpenLog() called
86 Log for chkopenlog on MYHOST started ...
88 [a helpful little message]