provider/perl: add basic tests

This commit is contained in:
Jan Edmund Lazo
2020-01-13 19:48:59 -05:00
parent c25b5a1576
commit 3420bd21e1
2 changed files with 76 additions and 1 deletions

View File

@@ -768,7 +768,7 @@ function module.new_pipename()
end
function module.missing_provider(provider)
if provider == 'ruby' or provider == 'node' then
if provider == 'ruby' or provider == 'node' or provider == 'perl' then
local prog = module.funcs['provider#' .. provider .. '#Detect']()
return prog == '' and (provider .. ' not detected') or false
elseif provider == 'python' or provider == 'python3' then