comparison tests/test-hgweb-commands.t @ 12643:d08bb64888bc

tests: reintroduce ":$HGPORT" in test output This reduces the number of patterns that must be adjusted when writing tests.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 08 Oct 2010 22:36:11 -0500
parents abbe2e979948
children ead4e21f49f1
comparison
equal deleted inserted replaced
12642:bb35840e965c 12643:d08bb64888bc
28 200 Script output follows 28 200 Script output follows
29 29
30 <?xml version="1.0" encoding="ascii"?> 30 <?xml version="1.0" encoding="ascii"?>
31 <feed xmlns="http://www.w3.org/2005/Atom"> 31 <feed xmlns="http://www.w3.org/2005/Atom">
32 <!-- Changelog --> 32 <!-- Changelog -->
33 <id>http://*/</id> (glob) 33 <id>http://*:$HGPORT/</id> (glob)
34 <link rel="self" href="http://*/atom-log"/> (glob) 34 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob)
35 <link rel="alternate" href="http://*/"/> (glob) 35 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
36 <title>test Changelog</title> 36 <title>test Changelog</title>
37 <updated>1970-01-01T00:00:00+00:00</updated> 37 <updated>1970-01-01T00:00:00+00:00</updated>
38 38
39 <entry> 39 <entry>
40 <title>branch</title> 40 <title>branch</title>
41 <id>http://*/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) 41 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
42 <link href="http://*/rev/1d22e65f027e"/> (glob) 42 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
43 <author> 43 <author>
44 <name>test</name> 44 <name>test</name>
45 <email>&#116;&#101;&#115;&#116;</email> 45 <email>&#116;&#101;&#115;&#116;</email>
46 </author> 46 </author>
47 <updated>1970-01-01T00:00:00+00:00</updated> 47 <updated>1970-01-01T00:00:00+00:00</updated>
52 </div> 52 </div>
53 </content> 53 </content>
54 </entry> 54 </entry>
55 <entry> 55 <entry>
56 <title>Added tag 1.0 for changeset 2ef0ac749a14</title> 56 <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
57 <id>http://*/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) 57 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
58 <link href="http://*/rev/a4f92ed23982"/> (glob) 58 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
59 <author> 59 <author>
60 <name>test</name> 60 <name>test</name>
61 <email>&#116;&#101;&#115;&#116;</email> 61 <email>&#116;&#101;&#115;&#116;</email>
62 </author> 62 </author>
63 <updated>1970-01-01T00:00:00+00:00</updated> 63 <updated>1970-01-01T00:00:00+00:00</updated>
68 </div> 68 </div>
69 </content> 69 </content>
70 </entry> 70 </entry>
71 <entry> 71 <entry>
72 <title>base</title> 72 <title>base</title>
73 <id>http://*/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) 73 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
74 <link href="http://*/rev/2ef0ac749a14"/> (glob) 74 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
75 <author> 75 <author>
76 <name>test</name> 76 <name>test</name>
77 <email>&#116;&#101;&#115;&#116;</email> 77 <email>&#116;&#101;&#115;&#116;</email>
78 </author> 78 </author>
79 <updated>1970-01-01T00:00:00+00:00</updated> 79 <updated>1970-01-01T00:00:00+00:00</updated>
90 200 Script output follows 90 200 Script output follows
91 91
92 <?xml version="1.0" encoding="ascii"?> 92 <?xml version="1.0" encoding="ascii"?>
93 <feed xmlns="http://www.w3.org/2005/Atom"> 93 <feed xmlns="http://www.w3.org/2005/Atom">
94 <!-- Changelog --> 94 <!-- Changelog -->
95 <id>http://*/</id> (glob) 95 <id>http://*:$HGPORT/</id> (glob)
96 <link rel="self" href="http://*/atom-log"/> (glob) 96 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob)
97 <link rel="alternate" href="http://*/"/> (glob) 97 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
98 <title>test Changelog</title> 98 <title>test Changelog</title>
99 <updated>1970-01-01T00:00:00+00:00</updated> 99 <updated>1970-01-01T00:00:00+00:00</updated>
100 100
101 <entry> 101 <entry>
102 <title>branch</title> 102 <title>branch</title>
103 <id>http://*/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) 103 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
104 <link href="http://*/rev/1d22e65f027e"/> (glob) 104 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
105 <author> 105 <author>
106 <name>test</name> 106 <name>test</name>
107 <email>&#116;&#101;&#115;&#116;</email> 107 <email>&#116;&#101;&#115;&#116;</email>
108 </author> 108 </author>
109 <updated>1970-01-01T00:00:00+00:00</updated> 109 <updated>1970-01-01T00:00:00+00:00</updated>
114 </div> 114 </div>
115 </content> 115 </content>
116 </entry> 116 </entry>
117 <entry> 117 <entry>
118 <title>Added tag 1.0 for changeset 2ef0ac749a14</title> 118 <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
119 <id>http://*/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) 119 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
120 <link href="http://*/rev/a4f92ed23982"/> (glob) 120 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
121 <author> 121 <author>
122 <name>test</name> 122 <name>test</name>
123 <email>&#116;&#101;&#115;&#116;</email> 123 <email>&#116;&#101;&#115;&#116;</email>
124 </author> 124 </author>
125 <updated>1970-01-01T00:00:00+00:00</updated> 125 <updated>1970-01-01T00:00:00+00:00</updated>
130 </div> 130 </div>
131 </content> 131 </content>
132 </entry> 132 </entry>
133 <entry> 133 <entry>
134 <title>base</title> 134 <title>base</title>
135 <id>http://*/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) 135 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
136 <link href="http://*/rev/2ef0ac749a14"/> (glob) 136 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
137 <author> 137 <author>
138 <name>test</name> 138 <name>test</name>
139 <email>&#116;&#101;&#115;&#116;</email> 139 <email>&#116;&#101;&#115;&#116;</email>
140 </author> 140 </author>
141 <updated>1970-01-01T00:00:00+00:00</updated> 141 <updated>1970-01-01T00:00:00+00:00</updated>
151 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/foo/?style=atom' 151 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/foo/?style=atom'
152 200 Script output follows 152 200 Script output follows
153 153
154 <?xml version="1.0" encoding="ascii"?> 154 <?xml version="1.0" encoding="ascii"?>
155 <feed xmlns="http://www.w3.org/2005/Atom"> 155 <feed xmlns="http://www.w3.org/2005/Atom">
156 <id>http://*/atom-log/tip/foo</id> (glob) 156 <id>http://*:$HGPORT/atom-log/tip/foo</id> (glob)
157 <link rel="self" href="http://*/atom-log/tip/foo"/> (glob) 157 <link rel="self" href="http://*:$HGPORT/atom-log/tip/foo"/> (glob)
158 <title>test: foo history</title> 158 <title>test: foo history</title>
159 <updated>1970-01-01T00:00:00+00:00</updated> 159 <updated>1970-01-01T00:00:00+00:00</updated>
160 160
161 <entry> 161 <entry>
162 <title>base</title> 162 <title>base</title>
163 <id>http://*/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) 163 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
164 <link href="http://*/rev/2ef0ac749a14"/> (glob) 164 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
165 <author> 165 <author>
166 <name>test</name> 166 <name>test</name>
167 <email>&#116;&#101;&#115;&#116;</email> 167 <email>&#116;&#101;&#115;&#116;</email>
168 </author> 168 </author>
169 <updated>1970-01-01T00:00:00+00:00</updated> 169 <updated>1970-01-01T00:00:00+00:00</updated>