feat(cli): vault session bootstrap with per-user flock + no-coredump
This commit is contained in:
parent
5bae2a3907
commit
2dd12fc6be
2 changed files with 60 additions and 0 deletions
|
|
@ -190,3 +190,9 @@ func TestOpLogLineHasNoSecretOrItem(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestLockPath(t *testing.T) {
|
||||
if got := vaultLockPath("1001"); got != "/run/user/1001/homelab-vault.lock" {
|
||||
t.Fatalf("vaultLockPath = %q", got)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue