fix(e2e): check onboarding systemd noise · openclaw/openclaw@44c1cc8
vincentkoc
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -38,4 +38,13 @@ describe("e2e shell tempfile hygiene", () => {
|
38 | 38 | expect(contents).not.toContain('if ! wait "$wizard_pid"'); |
39 | 39 | expect(contents).toContain('wait "$wizard_pid" || wizard_status=$?'); |
40 | 40 | }); |
| 41 | + |
| 42 | +it("checks local onboarding logs for systemd noise", async () => { |
| 43 | +const contents = await readFile("scripts/e2e/lib/onboard/scenario.sh", "utf8"); |
| 44 | + |
| 45 | +expect(contents).toContain("validate_local_basic_log /tmp/openclaw-onboard-local-basic.log"); |
| 46 | +expect(contents).toContain( |
| 47 | +'openclaw_e2e_assert_log_not_contains "$log_path" "systemctl --user unavailable"', |
| 48 | +); |
| 49 | +}); |
41 | 50 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。