check_utf8.sh: don't check the Lua bytecode file

This avoids one of the two files which are currently causing macOS SCons
builds to fail in the master branch.
This commit is contained in:
Jyrki Vesterinen 2018-07-27 23:34:11 +03:00
parent 0c3ba36d68
commit 8dc60ae98f
3 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
{GENERIC_UNIT_TEST "cve_2018_1999023" (
[lua]
code = << pcall(function() wesnoth.dofile("test/scenarios/bytecode.lua") end) >>
code = << pcall(function() wesnoth.dofile("test/scenarios/bytecode.bin") end) >>
[/lua]
[lua]
code = << pcall(function() wesnoth.require("test/scenarios/bytecode.lua") end) >>
code = << pcall(function() wesnoth.require("test/scenarios/bytecode.bin") end) >>
[/lua]
[lua]
code = <<

View file

@ -5,7 +5,7 @@
exit_code=0
find src/ -type f -print0 | xargs -0 isutf8 -- || exit_code=1
find data/ -not -name "*.png" -not -name "*.ogg" -not -name "*.jpg" -not -name "*.wav" -not -name "*.gif" -not -name "*.xcf" -type f -print0 | xargs -0 isutf8 -- || exit_code=1
find data/ -not -name "*.png" -not -name "*.ogg" -not -name "*.jpg" -not -name "*.wav" -not -name "*.gif" -not -name "*.xcf" -not -name "*.bin" -type f -print0 | xargs -0 isutf8 -- || exit_code=1
find po/ -type f -print0 | xargs -0 isutf8 -- || exit_code=1
isutf8 changelog.md || exit_code=1