diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-20 02:42:35 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-20 02:42:35 +0900 |
| commit | 58ce1347188b94743ea05a1492c53d53d0e4fa91 (patch) | |
| tree | 6b5e93b7620096dc6ae1a96bcbaf2a58ca66fb50 /internal/outcome/run_test.go | |
| parent | 2066093343c34a7b05d7fb0f1082ce513f2b4c0f (diff) | |
internal/outcome: attempt nscd path-hiding if present
This avoids creating the mount point on musl setups which accomplishes nothing and can run into permission problems.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/run_test.go')
| -rw-r--r-- | internal/outcome/run_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/outcome/run_test.go b/internal/outcome/run_test.go index 2a412d8b..a1d83ec9 100644 --- a/internal/outcome/run_test.go +++ b/internal/outcome/run_test.go @@ -710,7 +710,7 @@ func (k *stubNixOS) lookupEnv(key string) (string, bool) { func (k *stubNixOS) stat(name string) (fs.FileInfo, error) { switch name { case "/var/run/nscd": - return nil, nil + return stubFileInfoIsDir(true), nil case "/run/user/1971/pulse": return nil, nil case "/run/user/1971/pulse/native": |
