Files
privatae-bastion/client-go/diskmap_fifo_unix_test.go
T
Privatae e4c9b69b46
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s
bastion 0.53.2
2026-10-20 04:42:14 +00:00

11 lines
337 B
Go

//go:build !windows
package main
import "syscall"
// dmMkfifo makes a named pipe. It is a test-only helper and it deliberately
// lives OUTSIDE diskmap.go: TestTheWalkerNeverOpensAFile parses that file and
// would see a syscall the walk has no business making.
func dmMkfifo(path string) error { return syscall.Mkfifo(path, 0o600) }