1
2BEGIN {
3  unless ($ENV{RELEASE_TESTING}) {
4    require Test::More;
5    Test::More::plan(skip_all => 'these tests are for release candidate testing');
6  }
7}
8
9use strict;
10use warnings;
11
12use Test::Spelling;
13
14my @stopwords;
15for (<DATA>) {
16    chomp;
17    push @stopwords, $_
18        unless /\A (?: \# | \s* \z)/msx;    # skip comments, whitespace
19}
20
21add_stopwords(@stopwords);
22set_spell_cmd('aspell list -l en');
23
24# This prevents a weird segfault from the aspell command - see
25# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
26local $ENV{LC_ALL} = 'C';
27all_pod_files_spelling_ok;
28
29__DATA__
30API
31CPAN
32Cholet
33Dumont
34Goess
35Manfredi
36Miyagawa
37PayPal
38Pfeiffer
39Rolsky
40STDERR
41STDOUT
42Schilli
43Straup
44Swartz
45Tatsuhiko
46UTF
47apache
48appenders
49auth
50authpriv
51autoflushed
52classname
53crit
54emerg
55filename
56ident
57kern
58logopt
59params
60smtp
61stderr
62subclass's
63subclasses
64uucp
65