mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-31 22:28:22 +00:00
specify lua5.1 in test.lua
This commit is contained in:
@@ -15,12 +15,12 @@ function error_exit_bad
|
|||||||
|
|
||||||
function good
|
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
|
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
|
# Filters
|
||||||
|
Reference in New Issue
Block a user