[latex3-commits] [l3svn] branch master updated: MD5 sum for files is always 'Unix-like' with LuaTeX
noreply at latex-project.org
noreply at latex-project.org
Mon Sep 18 10:21:35 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new 57f1806 MD5 sum for files is always 'Unix-like' with LuaTeX
57f1806 is described below
commit 57f1806c7ced2677ca0a3c03483d1b95fe155b2f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Sep 18 09:20:19 2017 +0100
MD5 sum for files is always 'Unix-like' with LuaTeX
So this one doesn't show up (currently) on Travis-CI as the file *size*
is platform-dependent! Picked it up on Windows trying to build the release.
---
l3kernel/testfiles/m3file001.lvt | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/l3kernel/testfiles/m3file001.lvt b/l3kernel/testfiles/m3file001.lvt
index bf33a51..e65afc1 100644
--- a/l3kernel/testfiles/m3file001.lvt
+++ b/l3kernel/testfiles/m3file001.lvt
@@ -143,20 +143,28 @@
\file_get_size:nN { filetest.txt } \l_tmpb_str
\sys_if_engine_xetex:F
{
- \int_compare:nNnTF \l_tmpb_str = { 120 }
+ \sys_if_engine_luatex:TF
{
- % Unix line endings
+ % LuaTeX always gives the same sum
\str_if_eq:VnTF \l_tmpa_str { 4F918CB10404DD50E3C1B9990FF54D4A }
\TRUE \ERROR
}
{
- \int_compare:nNnTF \l_tmpb_str = { 123 }
+ % Unix line endings
+ \int_compare:nNnTF \l_tmpb_str = { 120 }
{
- % Windows line endings
- \str_if_eq:VnTF \l_tmpa_str { FA408C34EC7616533C50F8643B7949B6 }
+ \str_if_eq:VnTF \l_tmpa_str { 4F918CB10404DD50E3C1B9990FF54D4A }
\TRUE \ERROR
}
- \ERROR
+ {
+ % Windows line endings
+ \int_compare:nNnTF \l_tmpb_str = { 123 }
+ {
+ \str_if_eq:VnTF \l_tmpa_str { FA408C34EC7616533C50F8643B7949B6 }
+ \TRUE \ERROR
+ }
+ { \ERROR }
+ }
}
}
\file_get_mdfive_hash:nN { NotAFile.txt } \l_tmpa_str
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list