mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
fix: finish 2.9.0 plugin moves and get every check green
This commit is contained in:
1 parent
8c1e02af89
commit
6489b62ece
335 files changed
+29878
-17749
No files matched your search
@@ -107,4 +107,16 @@ describe("binary", () => {
|
||||
binarySpec({ OPKSSH_VERSION: "v9", OPKSSH_SHA256: sha }, "linux", "x64"),
|
||||
).toMatchObject({ version: "v9", sha256: sha });
|
||||
});
|
||||
|
||||
it("reads the per-architecture checksum the Docker image passes on", () => {
|
||||
const amd = "b".repeat(64);
|
||||
const arm = "c".repeat(64);
|
||||
const env = {
|
||||
OPKSSH_VERSION: "v9",
|
||||
OPKSSH_SHA256_AMD64: amd,
|
||||
OPKSSH_SHA256_ARM64: arm,
|
||||
};
|
||||
expect(binarySpec(env, "linux", "x64").sha256).toBe(amd);
|
||||
expect(binarySpec(env, "linux", "arm64").sha256).toBe(arm);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user