comparison tests/test-hgwebdir.out @ 5561:22713dce19f6

hgweb: return meaningful HTTP status codes instead of nonsense
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 28 Nov 2007 08:38:42 -0800
parents
children 733b50883f73
comparison
equal deleted inserted replaced
5560:e78c24011001 5561:22713dce19f6
1 adding a
2 adding b
3 adding c
4 % should give a 404 - file does not exist
5 404 Not Found
6
7
8 error: Path not found: bork/
9 % should succeed
10 200 Script output follows
11
12
13 /a/
14 /b/
15
16 200 Script output follows
17
18 a
19 200 Script output follows
20
21 b
22 % should give a 404 - repo is not published
23 404 Not Found
24
25
26 error: repository c not found
27 % should succeed
28 200 Script output follows
29
30
31 /a/
32 /b/
33 /c/
34
35 200 Script output follows
36
37 a
38 200 Script output follows
39
40 b
41 200 Script output follows
42
43 c