# use this command to validate ALL of the Lua programs in the ldt space
# Usage:  validate_all

echo CRC32.lua
luac -p -l CRC32.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo ldt_common.lua
luac -p -l ldt_common.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo ldt_errors.lua
luac -p -l ldt_errors.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo lib_llist.lua
luac -p -l lib_llist.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo lib_lmap.lua
luac -p -l lib_lmap.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo lib_lset.lua
luac -p -l lib_lset.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"

echo lib_lstack.lua
luac -p -l lib_lstack.lua | grep ETGLOBAL | grep -v "trace\|debug\|warn\|tostring\|map\|list\|aerospike\|info\|record\|error\|require\|bytes\|type\|pairs\|math\|getmetatable\|string"
