##// END OF EJS Templates
tests: add (glob) annotations to output lines with 127.0.0.1
Augie Fackler -
r29519:fe7158fc default
parent child Browse files
Show More
@@ -79,16 +79,16 b' should be used from d74fc8dec2b4 onward '
79 <?xml version="1.0" encoding="ascii"?>
79 <?xml version="1.0" encoding="ascii"?>
80 <feed xmlns="http://www.w3.org/2005/Atom">
80 <feed xmlns="http://www.w3.org/2005/Atom">
81 <!-- Changelog -->
81 <!-- Changelog -->
82 <id>http://127.0.0.1:$HGPORT/</id>
82 <id>http://127.0.0.1:$HGPORT/</id> (glob)
83 <link rel="self" href="http://127.0.0.1:$HGPORT/atom-log"/>
83 <link rel="self" href="http://127.0.0.1:$HGPORT/atom-log"/> (glob)
84 <link rel="alternate" href="http://127.0.0.1:$HGPORT/"/>
84 <link rel="alternate" href="http://127.0.0.1:$HGPORT/"/> (glob)
85 <title>repo Changelog</title>
85 <title>repo Changelog</title>
86 <updated>1970-01-01T00:00:00+00:00</updated>
86 <updated>1970-01-01T00:00:00+00:00</updated>
87
87
88 <entry>
88 <entry>
89 <title>[default] test</title>
89 <title>[default] test</title>
90 <id>http://127.0.0.1:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id>
90 <id>http://127.0.0.1:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id> (glob)
91 <link href="http://127.0.0.1:$HGPORT/rev/61c9426e69fe"/>
91 <link href="http://127.0.0.1:$HGPORT/rev/61c9426e69fe"/> (glob)
92 <author>
92 <author>
93 <name>test</name>
93 <name>test</name>
94 <email>&#116;&#101;&#115;&#116;</email>
94 <email>&#116;&#101;&#115;&#116;</email>
@@ -90,16 +90,16 b' should be used from d74fc8dec2b4 onward '
90 <?xml version="1.0" encoding="ascii"?>
90 <?xml version="1.0" encoding="ascii"?>
91 <feed xmlns="http://www.w3.org/2005/Atom">
91 <feed xmlns="http://www.w3.org/2005/Atom">
92 <!-- Changelog -->
92 <!-- Changelog -->
93 <id>http://127.0.0.1:$HGPORT/</id>
93 <id>http://127.0.0.1:$HGPORT/</id> (glob)
94 <link rel="self" href="http://127.0.0.1:$HGPORT/atom-log"/>
94 <link rel="self" href="http://127.0.0.1:$HGPORT/atom-log"/> (glob)
95 <link rel="alternate" href="http://127.0.0.1:$HGPORT/"/>
95 <link rel="alternate" href="http://127.0.0.1:$HGPORT/"/> (glob)
96 <title>repo Changelog</title>
96 <title>repo Changelog</title>
97 <updated>1970-01-01T00:00:00+00:00</updated>
97 <updated>1970-01-01T00:00:00+00:00</updated>
98
98
99 <entry>
99 <entry>
100 <title>[default] test</title>
100 <title>[default] test</title>
101 <id>http://127.0.0.1:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id>
101 <id>http://127.0.0.1:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id> (glob)
102 <link href="http://127.0.0.1:$HGPORT/rev/61c9426e69fe"/>
102 <link href="http://127.0.0.1:$HGPORT/rev/61c9426e69fe"/> (glob)
103 <author>
103 <author>
104 <name>test</name>
104 <name>test</name>
105 <email>&#116;&#101;&#115;&#116;</email>
105 <email>&#116;&#101;&#115;&#116;</email>
@@ -254,14 +254,14 b' cacert mismatch'
254
254
255 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
255 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
256 > https://127.0.0.1:$HGPORT/
256 > https://127.0.0.1:$HGPORT/
257 pulling from https://127.0.0.1:$HGPORT/
257 pulling from https://127.0.0.1:$HGPORT/ (glob)
258 abort: 127.0.0.1 certificate error: certificate is for localhost
258 abort: 127.0.0.1 certificate error: certificate is for localhost (glob)
259 (set hostsecurity.127.0.0.1:certfingerprints=sha256:62:09:97:2f:97:60:e3:65:8f:12:5d:78:9e:35:a1:36:7a:65:4b:0e:9f:ac:db:c3:bc:6e:b6:a3:c0:16:e0:30 config setting or use --insecure to connect insecurely)
259 (set hostsecurity.127.0.0.1:certfingerprints=sha256:62:09:97:2f:97:60:e3:65:8f:12:5d:78:9e:35:a1:36:7a:65:4b:0e:9f:ac:db:c3:bc:6e:b6:a3:c0:16:e0:30 config setting or use --insecure to connect insecurely)
260 [255]
260 [255]
261 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
261 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
262 > https://127.0.0.1:$HGPORT/ --insecure
262 > https://127.0.0.1:$HGPORT/ --insecure
263 pulling from https://127.0.0.1:$HGPORT/
263 pulling from https://127.0.0.1:$HGPORT/ (glob)
264 warning: connection security to 127.0.0.1 is disabled per current settings; communication is susceptible to eavesdropping and tampering
264 warning: connection security to 127.0.0.1 is disabled per current settings; communication is susceptible to eavesdropping and tampering (glob)
265 searching for changes
265 searching for changes
266 no changes found
266 no changes found
267 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub-other.pem"
267 $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub-other.pem"
@@ -375,7 +375,7 b' Test https with cacert and fingerprint t'
375 searching for changes
375 searching for changes
376 no changes found
376 no changes found
377 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull https://127.0.0.1:$HGPORT/ --config hostfingerprints.127.0.0.1=914f1aff87249c09b6859b88b1906d30756491ca
377 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull https://127.0.0.1:$HGPORT/ --config hostfingerprints.127.0.0.1=914f1aff87249c09b6859b88b1906d30756491ca
378 pulling from https://127.0.0.1:$HGPORT/
378 pulling from https://127.0.0.1:$HGPORT/ (glob)
379 searching for changes
379 searching for changes
380 no changes found
380 no changes found
381
381
General Comments 0
You need to be logged in to leave comments. Login now