aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/syslog.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/syslog.t b/t/syslog.t
new file mode 100644
index 000000000..28272e2dc
--- /dev/null
+++ b/t/syslog.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+use Test::More tests => 3;
+use utf8;
+
+BEGIN { use_ok("IkiWiki"); }
+
+$IkiWiki::config{verbose} = 1;
+$IkiWiki::config{syslog} = 1;
+$IkiWiki::config{wikiname} = 'ascii';
+is(debug('test'), '');
+$IkiWiki::config{wikiname} = 'not â’¶SCII';
+is(debug('test'), '');