summaryrefslogtreecommitdiff
path: root/t/basewiki_brokenlinks.t
AgeCommit message (Collapse)Author
2009-06-08Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not ↵Joey Hess
available. The test suite was emitting a lot of ugly gettext warnings; setting LC_ALL didn't solve the problem for all locale setups (since ikiwiki remaps it to LANG, and ikiwiki didn't know about the C locale). People also seem generally annoyed by the messages when Locale::Gettext is not installed, and I suspect will be generally happier if it just silently doesn't localize. The optimisation came about when I noticed that the gettext sub was doing rather a lot of work each call just to see if localisation is needed. We can avoid that work by caching, and the best thing to cache is a version of the gettext sub that does exactly the right thing. This was slightly complicated by the locale setting, which might need to override the original locale (or lack thereof) after gettext has been called. So it needs to invalidate the cache in that case. It used to do it via a global variable, which I am happy to have also gotten rid of.
2009-05-25Fix test suite to not rely on an installed copy of ikiwiki after underlaydir ↵Joey Hess
change. Closes: #530502
2009-05-22stop using perl -T hereJoey Hess
See bug #411786. Perl's random corruption of the taint flag is even effecting the untainting of source filenames now (which AFAICS, is a proper untaint and always worked before..), and that makes using ikiwiki in perl taint mode not work at all.
2008-09-11test for brokenlinks when listdirectives is enabled, tooJoey Hess
2008-09-11display broken links on failureJoey Hess
2008-07-25add a regression test to ensure that permalinks never changeJoey Hess
2008-07-12Hopefully fix regression tests in non-English environmentsSimon McVittie
2007-09-05fix path issue when runnign testjoey
2007-08-28* Support for looking in multiple directories for underlay files.joey
* Plugins can add new directories to the search path with the add_underlay function. * Split out smiley underlay files into a separate underlay, so if the plugin isn't used, the wiki isn't bloated with all those files.
2007-08-21test suite fixesjoey
2007-06-26* Patch fixing various additional problems with test suite. Closes: #425891joey
once more.
2007-05-24* Fix FTBFS in test suite introduced in last version. Closes: #425891joey
2007-05-20build fixesjoey
2007-05-20* Add a test ensuring that the basewiki is self-contained and has no brokenjoey
links.