##// END OF EJS Templates
issue1577: fix broken test by assuming less about CVS output....
issue1577: fix broken test by assuming less about CVS output. Specifically, output of "cvs ci" varies unpredictably across CVS versions, so any test that includes the output of "cvs ci" is doomed to fail some of the time. This fixes that by discarding the output of "cvs ci".

File last commit:

r7849:d5662e93 default
r8081:6c3b8132 default
Show More
test-hgwebdir.out
158 lines | 2.8 KiB | text/plain | TextLexer
/ tests / test-hgwebdir.out
Bryan O'Sullivan
hgweb: return meaningful HTTP status codes instead of nonsense
r5561 adding a
adding b
Benoit Allard
hgweb: recurse down collections only if ** in [paths]...
r7523 adding d
Bryan O'Sullivan
hgweb: return meaningful HTTP status codes instead of nonsense
r5561 adding c
% should give a 404 - file does not exist
404 Not Found
Dirkjan Ochtman
hgweb: better error messages
r6368 error: bork@8580ff50825a: not found in manifest
Bryan O'Sullivan
hgweb: return meaningful HTTP status codes instead of nonsense
r5561 % should succeed
200 Script output follows
/a/
/b/
200 Script output follows
a
200 Script output follows
b
% should give a 404 - repo is not published
404 Not Found
error: repository c not found
Dirkjan Ochtman
Add tests for hgwebdir repository names with slashes in them.
r5578 % should succeed, slashy names
200 Script output follows
/b/
Patrick Mezard
hgweb: extend [paths] syntax to match repositories recursively (issue852)...
r7450 /coll/a/
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 /coll/a/.hg/patches/
Patrick Mezard
hgweb: extend [paths] syntax to match repositories recursively (issue852)...
r7450 /coll/b/
/coll/c/
Benoit Allard
hgweb: recurse down collections only if ** in [paths]...
r7523 /rcoll/a/
/rcoll/a/.hg/patches/
/rcoll/b/
/rcoll/b/d/
/rcoll/c/
Dirkjan Ochtman
Add tests for hgwebdir repository names with slashes in them.
r5578 /t/a/
200 Script output follows
/t/a/
200 Script output follows
/t/a/
200 Script output follows
<?xml version="1.0" encoding="ascii"?>
<feed xmlns="http://127.0.0.1/2005/Atom">
<!-- Changelog -->
<id>http://127.0.0.1/t/a/</id>
<link rel="self" href="http://127.0.0.1/t/a/atom-log"/>
<link rel="alternate" href="http://127.0.0.1/t/a/"/>
<title>t/a Changelog</title>
<updated>1970-01-01T00:00:01+00:00</updated>
<entry>
<title>a</title>
Matt Mackall
atom: fix URLs used in entry GUIDs
r7849 <id>http://127.0.0.1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id>
Dirkjan Ochtman
Add tests for hgwebdir repository names with slashes in them.
r5578 <link href="http://127.0.0.1/t/a/rev/8580ff50825a50c8f716709acdf8de0deddcd6ab"/>
<author>
<name>test</name>
<email>&#116;&#101;&#115;&#116;</email>
</author>
<updated>1970-01-01T00:00:01+00:00</updated>
<published>1970-01-01T00:00:01+00:00</published>
<content type="xhtml">
<div xmlns="http://127.0.0.1/1999/xhtml">
<pre xml:space="preserve">a</pre>
</div>
</content>
</entry>
</feed>
200 Script output follows
<?xml version="1.0" encoding="ascii"?>
<feed xmlns="http://127.0.0.1/2005/Atom">
<!-- Changelog -->
<id>http://127.0.0.1/t/a/</id>
<link rel="self" href="http://127.0.0.1/t/a/atom-log"/>
<link rel="alternate" href="http://127.0.0.1/t/a/"/>
<title>t/a Changelog</title>
<updated>1970-01-01T00:00:01+00:00</updated>
<entry>
<title>a</title>
Matt Mackall
atom: fix URLs used in entry GUIDs
r7849 <id>http://127.0.0.1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id>
Dirkjan Ochtman
Add tests for hgwebdir repository names with slashes in them.
r5578 <link href="http://127.0.0.1/t/a/rev/8580ff50825a50c8f716709acdf8de0deddcd6ab"/>
<author>
<name>test</name>
<email>&#116;&#101;&#115;&#116;</email>
</author>
<updated>1970-01-01T00:00:01+00:00</updated>
<published>1970-01-01T00:00:01+00:00</published>
<content type="xhtml">
<div xmlns="http://127.0.0.1/1999/xhtml">
<pre xml:space="preserve">a</pre>
</div>
</content>
</entry>
</feed>
200 Script output follows
a
Patrick Mezard
hgweb: extend [paths] syntax to match repositories recursively (issue852)...
r7450 200 Script output follows
/coll/a/
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 /coll/a/.hg/patches/
Patrick Mezard
hgweb: extend [paths] syntax to match repositories recursively (issue852)...
r7450 /coll/b/
/coll/c/
200 Script output follows
a
Benoit Allard
hgweb: recurse down collections only if ** in [paths]...
r7523 200 Script output follows
/rcoll/a/
/rcoll/a/.hg/patches/
/rcoll/b/
/rcoll/b/d/
/rcoll/c/
200 Script output follows
d
% collections: should succeed
Bryan O'Sullivan
hgweb: return meaningful HTTP status codes instead of nonsense
r5561 200 Script output follows
/a/
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 /a/.hg/patches/
Bryan O'Sullivan
hgweb: return meaningful HTTP status codes instead of nonsense
r5561 /b/
/c/
200 Script output follows
a
200 Script output follows
b
200 Script output follows
c
Dirkjan Ochtman
hgwebdir: split out makeindex function, facilitate test failure diagnosis
r5601 % paths errors 1
% paths errors 2
% collections errors