mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 10:42:43 +00:00
fix(docker): correct awk quoting in Docker GPG fingerprint check (#32153)
This commit is contained in:
committed by
Peter Steinberger
parent
895abc5a64
commit
b29e913efe
@@ -27,4 +27,10 @@ describe("Dockerfile", () => {
|
||||
expect(dockerfile).toContain('find "$dir" -type d -exec chmod 755 {} +');
|
||||
expect(dockerfile).toContain('find "$dir" -type f -exec chmod 644 {} +');
|
||||
});
|
||||
|
||||
it("Docker GPG fingerprint awk uses correct quoting for OPENCLAW_SANDBOX=1 build", async () => {
|
||||
const dockerfile = await readFile(dockerfilePath, "utf8");
|
||||
expect(dockerfile).toContain('== "fpr" {');
|
||||
expect(dockerfile).not.toContain('\\"fpr\\"');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user