From 6840164c54895eee776f95ceaeae0fccab0880aa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 22 Apr 2021 05:44:16 -0400 Subject: lei: XDG_RUNTIME_DIR=/dev/null disables daemon mode We'll support this mode of operation for now to quiet down testing of oneshot mode where the daemon doesn't persist. --- t/lei-externals.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/lei-externals.t b/t/lei-externals.t index 488bf5ad..2291dd99 100644 --- a/t/lei-externals.t +++ b/t/lei-externals.t @@ -49,7 +49,7 @@ SKIP: { ok(WIFSIGNALED($?), "signaled @$out"); is(WTERMSIG($?), SIGPIPE, "got SIGPIPE @$out"); seek($err, 0, 0); - my @err = grep(!m{mkdir .*sun_path\b}, <$err>); + my @err = <$err>; is_deeply(\@err, [], "no errors @$out"); } if (-d $ENV{XDG_RUNTIME_DIR} && -w _) { -- cgit v1.2.3-24-ge0c7