aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/run_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/outcome/run_test.go')
-rw-r--r--internal/outcome/run_test.go2
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":