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 cc57f98cb6
commit ad90f368a3
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

@ -6,7 +6,7 @@
# wesnoth repository.
set -e
find src/ -type f -print0 | xargs -0 isutf8 --
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 --
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 --
find po/ -type f -print0 | xargs -0 isutf8 --
isutf8 changelog
isutf8 RELEASE_NOTES