Make mounts refuse what it could break: data the mesh keeps, a busy or non-empty mount point, its own share, and a mount that is not its source; say each node's wants so the server exports only to them (review of #136)
This commit is contained in:
@@ -33,6 +33,8 @@ func newSystem(t *testing.T) *fakeSystem {
|
||||
}
|
||||
}
|
||||
f.write("/proc/self/mountinfo", "")
|
||||
// The mesh keeps no data on this machine, as the controller said through the bundle.
|
||||
f.write(DataFile, `{"machine":"workstation","paths":[]}`)
|
||||
return f
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user