~ubuntu-branches/ubuntu/edgy/libwww-perl/edgy

« back to all changes in this revision

Viewing changes to t/robot/rules.t

  • Committer: Bazaar Package Importer
  • Author(s): Jay Bonci
  • Date: 2005-02-13 18:45:32 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050213184532-67qvopi4wre3010u
Tags: 5.803-4
* Make GET/POST/HEAD symlinks (Closes: #294597)
* lwp-requests now honors -b when dumping links (Closes: #294595)
  - Thanks to giuseppe bonacci for the patch
* Moved symlinks to a libwww-perl.links file

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
use Carp;
16
16
use strict;
17
17
 
18
 
print "1..32\n"; # for Test::Harness
 
18
print "1..38\n"; # for Test::Harness
19
19
 
20
20
# We test a number of different /robots.txt files,
21
21
#
135
135
            32 => "http://bar/" => 1,
136
136
           ],
137
137
 
 
138
           [$content4, "MomSpiderJr" =>   # should match "MomSpider"
 
139
            33 => 'http://foo/private' => 1,
 
140
            34 => 'http://foo/also_private' => 1,
 
141
            35 => 'http://foo/this/' => 0,
 
142
           ],
 
143
 
 
144
           [$content4, "SvartEnk" =>      # should match "*"
 
145
            36 => "http://foo/" => 1,
 
146
            37 => "http://foo/private/" => 0,
 
147
            38 => "http://bar/" => 1,
 
148
           ],
 
149
 
138
150
           # when adding tests, remember to increase
139
151
           # the maximum at the top
140
152