ingress-nginx-helm/build/busted
2018-07-21 21:32:57 -04:00

16 lines
319 B
Text
Executable file

#!/usr/bin/env resty
local ffi = require("ffi")
-- without this we get errors such as "attempt to redefine XXX"
local old_cdef = ffi.cdef
local exists = {}
ffi.cdef = function(def)
if exists[def] then
return
end
exists[def] = true
return old_cdef(def)
end
require "busted.runner"({ standalone = false })