This commit introduces a Darwin-specific template for NFS exports. This is almost identical to the standard BSD template except it puts each NFS export on its own line. This resolves NFS issues discovered in macOS Catalina.
18 lines
435 B
Ruby
18 lines
435 B
Ruby
require_relative "../../../../base"
|
|
|
|
require_relative "../../../../../../plugins/hosts/darwin/cap/nfs"
|
|
|
|
describe VagrantPlugins::HostDarwin::Cap::NFS do
|
|
include_context "unit"
|
|
|
|
let(:subject){ VagrantPlugins::HostDarwin::Cap::NFS }
|
|
|
|
it "exists" do
|
|
expect(subject).to_not be(nil)
|
|
end
|
|
|
|
it "should use nfs/exports_darwin as its template" do
|
|
expect(subject.nfs_exports_template(nil)).to eq("nfs/exports_darwin")
|
|
end
|
|
end
|