bastion 0.60.0
This commit is contained in:
@@ -130,6 +130,10 @@ func TestMain(m *testing.M) {
|
||||
// /proc/101 on the machine running the suite and the decision would depend
|
||||
// on whatever process holds that number. The real-signal test opts back in.
|
||||
procIdentity = func(int) (string, bool, bool) { return "", false, false }
|
||||
// The reads go to the machine's own bastion when it runs as a system
|
||||
// service and the suite does not run as root (reads.go): never from the
|
||||
// suite, which reads its own isolated state. The lane's tests opt in.
|
||||
readsGoThroughLane = func() bool { return false }
|
||||
// THE SWEEP IS ONE TOO. A test runs the ops' startup sweep for real, and it
|
||||
// stops every op unit its names match: the suite's names are its own, so
|
||||
// it never stops an op the machine's own bastion is running.
|
||||
|
||||
Reference in New Issue
Block a user