Add missing local declarations in sailor.cli.test().
Also move require "lfs" from sailor script to sailor.cli so
that it doesn't rely on lfs setting itself as a global (it won't in 2.0).
Coverage remained the same at 82.666% when pulling 78cae0df783628cb44a4150aa0f757927d3f18b3 on mpeterv:fix-cli-globals into d0df7c8465f2a51dc730dae4ed9b823817e9b051 on sailorproject:master.
Coverage remained the same at 82.666% when pulling 78cae0df783628cb44a4150aa0f757927d3f18b3 on mpeterv:fix-cli-globals into d0df7c8465f2a51dc730dae4ed9b823817e9b051 on sailorproject:master.
Add missing
local
declarations in sailor.cli.test(). Also moverequire "lfs"
from sailor script to sailor.cli so that it doesn't rely on lfs setting itself as a global (it won't in 2.0).