summaryrefslogtreecommitdiff
path: root/qa/786.out
blob: 945287691e1810a4232e786571dcb8cd783c1949 (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
QA output created by 786

===  ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -h HOSTNAME ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -L ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -a src/babylon.percpu_v2 ===
pmGetContextHostName(0)="babylon"
pmGetContextHostName_r(0, ...) => "babylon"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="babylon"
dup ctx pmGetContextHostName_r(1, ...) => "babylon"
original ctx pmGetContextHostName(0)="babylon"
original ctx pmGetContextHostName_r(0, ...) => "babylon"

=== -h localhost ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -h local: ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -h unix: ===
pmGetContextHostName(0)="HOSTNAME"
pmGetContextHostName_r(0, ...) => "HOSTNAME"
pmDupConext()=1
dup ctx pmGetContextHostName(1)="HOSTNAME"
dup ctx pmGetContextHostName_r(1, ...) => "HOSTNAME"
original ctx pmGetContextHostName(0)="HOSTNAME"
original ctx pmGetContextHostName_r(0, ...) => "HOSTNAME"

=== -h no.such.host ===
getcontexthost: Cannot connect to PMCD on host "no.such.host": No route to host
pmGetContextHostName(-113)=""
pmGetContextHostName_r(-113, ...) => ""
pmDupContext()=-12376 - Attempt to use an illegal context
dup ctx pmGetContextHostName(-12376)=""
dup ctx pmGetContextHostName_r(-12376, ...) => ""
original ctx pmGetContextHostName(-113)=""
original ctx pmGetContextHostName_r(-113, ...) => ""

=== -a /no/such/archive ===
getcontexthost: Cannot open archive "/no/such/archive": No such file or directory
pmGetContextHostName(-2)=""
pmGetContextHostName_r(-2, ...) => ""
pmDupContext()=-12376 - Attempt to use an illegal context
dup ctx pmGetContextHostName(-12376)=""
dup ctx pmGetContextHostName_r(-12376, ...) => ""
original ctx pmGetContextHostName(-2)=""
original ctx pmGetContextHostName_r(-2, ...) => ""