~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to tests/test-hgwebdir.t

  • Committer: Bazaar Package Importer
  • Author(s): Javi Merino
  • Date: 2011-03-06 16:01:58 UTC
  • mto: (28.1.2 sid) (1.1.14)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20110306160158-y94pzpmtd7b1xgjk
Tags: upstream-1.8
ImportĀ upstreamĀ versionĀ 1.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
  > rcoll=$root/**
100
100
  > star=*
101
101
  > starstar=**
 
102
  > astar=webdir/a/*
102
103
  > EOF
103
104
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
104
105
  >     -A access-paths.log -E error-paths-2.log
130
131
  /starstar/webdir/b/
131
132
  /starstar/webdir/b/d/
132
133
  /starstar/webdir/c/
 
134
  /astar/
 
135
  /astar/.hg/patches/
133
136
  
134
137
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper'
135
138
  200 Script output follows
322
325
  <td class="indexlinks"></td>
323
326
  </tr>
324
327
  
 
328
  <tr class="parity0">
 
329
  <td><a href="/astar/?style=paper">astar</a></td>
 
330
  <td>unknown</td>
 
331
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
 
332
  <td class="age">* ago</td> (glob)
 
333
  <td class="indexlinks"></td>
 
334
  </tr>
 
335
  
 
336
  <tr class="parity1">
 
337
  <td><a href="/astar/.hg/patches/?style=paper">astar/.hg/patches</a></td>
 
338
  <td>unknown</td>
 
339
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
 
340
  <td class="age">* ago</td> (glob)
 
341
  <td class="indexlinks"></td>
 
342
  </tr>
 
343
  
325
344
  </table>
326
345
  </div>
327
346
  </div>
470
489
  
471
490
  a
472
491
 
473
 
est [paths] '**' extension
 
492
Test [paths] '**' extension
474
493
 
475
494
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/?style=raw'
476
495
  200 Script output follows
486
505
  200 Script output follows
487
506
  
488
507
  d
 
508
 
 
509
Test [paths] '*' in a repo root
 
510
 
 
511
  $ hg id http://localhost:$HGPORT1/astar
 
512
  8580ff50825a
 
513
 
489
514
  $ "$TESTDIR/killdaemons.py"
490
515
  $ cat > paths.conf <<EOF
491
516
  > [paths]