specify lua5.1 in test.lua

This commit is contained in:
Henri DF 2016-02-21 15:59:15 -08:00
parent b41794f6a9
commit e5637d0cee

View File

@ -15,12 +15,12 @@ function error_exit_bad
function good
{
lua test.lua "a: x.y=1; b: a and z.x exists; c: b; $1" 2> /dev/null || error_exit_good "$1"
lua5.1 test.lua "a: x.y=1; b: a and z.x exists; c: b; $1" 2> /dev/null || error_exit_good "$1"
}
function bad
{
lua test.lua "a: x.y=1; b: a and z.x exists; c: b; $1" 2> /dev/null && error_exit_bad "$1"
lua5.1 test.lua "a: x.y=1; b: a and z.x exists; c: b; $1" 2> /dev/null && error_exit_bad "$1"
}
# Filters