aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-01-21 07:25:25 +0000
committerSimon McVittie <smcv@debian.org>2016-01-21 07:33:41 +0000
commitb8dbb48fdce9ffc00d1f3f4267948ee2875d2970 (patch)
tree52851586913097cfd80f4b2a7f169cf695f408b9 /t
parenta8951de19eff73dc3d2e1d1b20518ecb56133184 (diff)
downloadikiwiki-b8dbb48fdce9ffc00d1f3f4267948ee2875d2970.tar
ikiwiki-b8dbb48fdce9ffc00d1f3f4267948ee2875d2970.tar.gz
Force log messages to be bytestrings
Sys::Syslog is not UTF-8-literate.
Diffstat (limited to 't')
-rwxr-xr-xt/syslog.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/syslog.t b/t/syslog.t
index ffe8635b3..d5c1bc56b 100755
--- a/t/syslog.t
+++ b/t/syslog.t
@@ -12,7 +12,7 @@ $IkiWiki::config{syslog} = 1;
$IkiWiki::config{wikiname} = 'ASCII';
is(debug('test'), '', 'plain ASCII syslog');
$IkiWiki::config{wikiname} = 'not ⒶSCII';
-is(debug('test'), '', 'UTF8 syslog');
+is(debug('𝗧ĕṡҭ'), '', 'UTF8 syslog');
my $orig = $IkiWiki::config{wikiname};
is(debug('test'), '', 'check for idempotency');
is($IkiWiki::config{wikiname}, $orig, 'unchanged config');